[ Dec 1 20:52:49 Enabled. ] [ Dec 1 20:52:49 Rereading configuration. ] [ Dec 1 20:52:52 Rereading configuration. ] [ Dec 1 20:52:55 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-12-01T20:52:56.671954682Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.676746784Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.676767274Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.949547553Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.121912114Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:35705"} {"msg":"region 282f8bd0-c9e8-473c-abd1-bcc9f7fbf464 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.166543227Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.167246776Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"uri":"/crucible/0/regions","method":"POST","req_id":"bbac10c8-41f9-4a40-9173-e75dfdb39567","remote_addr":"[fd00:1122:3344:101::a]:35705","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":12445,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.16775192Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.177774386Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.177795471Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"282f8bd0-c9e8-473c-abd1-bcc9f7fbf464\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 16, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.223930155Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"region":"282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.391499332Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"region":"282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","component":"worker"} {"msg":"region 282f8bd0-c9e8-473c-abd1-bcc9f7fbf464 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.391530213Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.391632746Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.39399029Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.398812433Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.414216817Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.417571239Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.418326039Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.418473434Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.418523335Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.418562356Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.422450123Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.42816759Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:07.477431845Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"uri":"/crucible/0/regions","method":"POST","req_id":"5b482d55-2ea2-47b5-80fe-1faf4363b144","remote_addr":"[fd00:1122:3344:101::a]:35705","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.258865669Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:40994"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.2596189Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"uri":"/crucible/0/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","method":"GET","req_id":"3bc5a0c2-83b4-4f71-a074-36f4f4a0ac48","remote_addr":"[fd00:1122:3344:101::a]:40994","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":698,"response_code":"200"} {"msg":"path is \"/data/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.259891128Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.269025459Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"datafile"} {"msg":"region 282f8bd0-c9e8-473c-abd1-bcc9f7fbf464 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.278219421Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.278366356Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.278431487Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"uri":"/crucible/0/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","method":"DELETE","req_id":"00a5282d-f8cd-4285-8867-bc7d6875bad8","remote_addr":"[fd00:1122:3344:101::a]:40994","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":18640,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.278649453Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"uri":"/crucible/0/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","method":"GET","req_id":"bb057be2-b966-4c2e-aeee-cdee98bff72e","remote_addr":"[fd00:1122:3344:101::a]:40994","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-282f8bd0-c9e8-473c-abd1-bcc9f7fbf464 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.279803535Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.283704832Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.292583427Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"region":"282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","component":"worker"} {"msg":"region 282f8bd0-c9e8-473c-abd1-bcc9f7fbf464 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.34181562Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:08.424643067Z","hostname":"oxz_crucible_3dbf2ff6-7fc8-4cd4-b392-7ac643b268aa","pid":21582,"uri":"/crucible/0/regions/282f8bd0-c9e8-473c-abd1-bcc9f7fbf464","method":"GET","req_id":"c256bc0e-0e99-4799-be29-65e49c6a05fc","remote_addr":"[fd00:1122:3344:101::a]:40994","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":57,"response_code":"200"}