[ Nov 30 06:21:08 Enabled. ] [ Nov 30 06:21:08 Rereading configuration. ] [ Nov 30 06:21:09 Rereading configuration. ] [ Nov 30 06:21:11 Executing start method ("/opt/oxide/lib/svc/manifest/crucible/agent.sh"). ] + . /lib/svc/share/smf_include.sh ++ SMF_EXIT_OK=0 ++ SMF_EXIT_NODAEMON=94 ++ SMF_EXIT_ERR_FATAL=95 ++ SMF_EXIT_ERR_CONFIG=96 ++ SMF_EXIT_MON_DEGRADE=97 ++ SMF_EXIT_MON_OFFLINE=98 ++ SMF_EXIT_ERR_NOSMF=99 ++ SMF_EXIT_ERR_PERM=100 ++ svcprop -c -p config/datalink svc:/oxide/crucible/agent:default + DATALINK=oxControlService20 ++ svcprop -c -p config/gateway svc:/oxide/crucible/agent:default + GATEWAY=fd00:1122:3344:101::1 ++ svcprop -c -p config/dataset svc:/oxide/crucible/agent:default + DATASET=oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ svcprop -c -p config/listen_port svc:/oxide/crucible/agent:default + LISTEN_PORT=32345 ++ svcprop -c -p config/portbase svc:/oxide/crucible/agent:default + PORTBASE=19000 ++ svcprop -c -p config/downstairs_prefix svc:/oxide/crucible/agent:default + DOWNSTAIRS_PREFIX=downstairs ++ svcprop -c -p config/snapshot_prefix svc:/oxide/crucible/agent:default + SNAPSHOT_PREFIX=snapshot + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService20/omicron6 + route get -inet6 default -inet6 fd00:1122:3344:101::1 default: not in table + route add -inet6 default -inet6 fd00:1122:3344:101::1 add net default: gateway fd00:1122:3344:101::1 + args=('-D' '/opt/oxide/crucible/bin/crucible-downstairs' '--dataset' "$DATASET" '-l' "[$LISTEN_ADDR]:$LISTEN_PORT" '-P' "$PORTBASE" '-p' "$DOWNSTAIRS_PREFIX" '-s' "$SNAPSHOT_PREFIX") + exec /opt/oxide/crucible/bin/crucible-agent run -D /opt/oxide/crucible/bin/crucible-downstairs --dataset oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.871427728Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.875679909Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:11.875695809Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:12.004041063Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.123952912Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:61513"} {"msg":"region 15fbf0af-6042-438d-94e7-36ace567e14a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.175129718Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.176115586Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.180273741Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"uri":"/crucible/0/regions","method":"POST","req_id":"a661a44f-4307-4cf2-96d0-a48e4205704b","remote_addr":"[fd00:1122:3344:101::b]:61513","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":20156,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/15fbf0af-6042-438d-94e7-36ace567e14a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.185634648Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/15fbf0af-6042-438d-94e7-36ace567e14a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.185661226Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"15fbf0af-6042-438d-94e7-36ace567e14a\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/15fbf0af-6042-438d-94e7-36ace567e14a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.244651991Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"region":"15fbf0af-6042-438d-94e7-36ace567e14a","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.44328725Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"region":"15fbf0af-6042-438d-94e7-36ace567e14a","component":"worker"} {"msg":"region 15fbf0af-6042-438d-94e7-36ace567e14a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.443323316Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.443474171Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-15fbf0af-6042-438d-94e7-36ace567e14a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.445875473Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-15fbf0af-6042-438d-94e7-36ace567e14a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.449876415Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.463890926Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-15fbf0af-6042-438d-94e7-36ace567e14a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.467241248Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/15fbf0af-6042-438d-94e7-36ace567e14a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.467982152Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.470072584Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.470127194Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.47016161Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.479139175Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.48576136Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:07.497177086Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"uri":"/crucible/0/regions","method":"POST","req_id":"acf69d52-1529-4e9f-89d8-e7642391e1a7","remote_addr":"[fd00:1122:3344:101::b]:61513","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.924955013Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:59786"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.931345591Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"uri":"/crucible/0/regions/15fbf0af-6042-438d-94e7-36ace567e14a","method":"GET","req_id":"c52644f5-474b-4989-8825-18af72ba842c","remote_addr":"[fd00:1122:3344:101::b]:59786","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":6356,"response_code":"200"} {"msg":"path is \"/data/regions/15fbf0af-6042-438d-94e7-36ace567e14a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.933847397Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/15fbf0af-6042-438d-94e7-36ace567e14a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.945854475Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"datafile"} {"msg":"region 15fbf0af-6042-438d-94e7-36ace567e14a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.954824111Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.955386747Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.955444537Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"uri":"/crucible/0/regions/15fbf0af-6042-438d-94e7-36ace567e14a","method":"DELETE","req_id":"702a4138-30a3-4719-b922-bb8a2876f01a","remote_addr":"[fd00:1122:3344:101::b]:59786","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":23934,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.956167225Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"uri":"/crucible/0/regions/15fbf0af-6042-438d-94e7-36ace567e14a","method":"GET","req_id":"d7f438e0-e905-4872-ab5a-86ab2e786641","remote_addr":"[fd00:1122:3344:101::b]:59786","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":583,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-15fbf0af-6042-438d-94e7-36ace567e14a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.956526019Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.965768787Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/15fbf0af-6042-438d-94e7-36ace567e14a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:57.974956436Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"region":"15fbf0af-6042-438d-94e7-36ace567e14a","component":"worker"} {"msg":"region 15fbf0af-6042-438d-94e7-36ace567e14a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:58.020972376Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:24:58.085504014Z","hostname":"oxz_crucible_bd0e5e36-6c7e-4f6b-9aee-9b37a2a6a08a","pid":21171,"uri":"/crucible/0/regions/15fbf0af-6042-438d-94e7-36ace567e14a","method":"GET","req_id":"62d1b71f-0d8f-4b97-8f33-f48b00e8ce84","remote_addr":"[fd00:1122:3344:101::b]:59786","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":49,"response_code":"200"}