[ Jan 28 05:19:29 Enabled. ] [ Jan 28 05:19:29 Rereading configuration. ] [ Jan 28 05:19:30 Rereading configuration. ] [ Jan 28 05:19:32 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=oxControlService22 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService22/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":"2024-01-28T05:19:33.133366288Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:33.144362696Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:33.144379476Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:19:33.269182773Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.873330405Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:51999"} {"msg":"region 60dc632e-356f-449c-afd7-45165d25d106 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.963267274Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.972663812Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"uri":"/crucible/0/regions","method":"POST","req_id":"982ca16e-d5c2-45e6-9870-84cd2f84d404","remote_addr":"[fd00:1122:3344:101::a]:51999","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":21667,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.972698743Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/60dc632e-356f-449c-afd7-45165d25d106","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.987813192Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/60dc632e-356f-449c-afd7-45165d25d106","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:36.987839293Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"60dc632e-356f-449c-afd7-45165d25d106\"), 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/60dc632e-356f-449c-afd7-45165d25d106\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.081730961Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"region":"60dc632e-356f-449c-afd7-45165d25d106","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.340888624Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"uri":"/crucible/0/regions","method":"POST","req_id":"c35938b6-03e5-4680-a63b-9df23f837a69","remote_addr":"[fd00:1122:3344:101::a]:51999","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":791,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.780526962Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"region":"60dc632e-356f-449c-afd7-45165d25d106","component":"worker"} {"msg":"region 60dc632e-356f-449c-afd7-45165d25d106 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.780562512Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.780674154Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-60dc632e-356f-449c-afd7-45165d25d106","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.78113307Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-60dc632e-356f-449c-afd7-45165d25d106","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.790184483Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.844559326Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-60dc632e-356f-449c-afd7-45165d25d106","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.861421257Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/60dc632e-356f-449c-afd7-45165d25d106","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.862115596Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.872943592Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.872999143Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.873045343Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.906072178Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:37.912428148Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:26:38.051977025Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"uri":"/crucible/0/regions","method":"POST","req_id":"0473879c-2bc4-4027-8b39-5c25335dc963","remote_addr":"[fd00:1122:3344:101::a]:51999","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.647590104Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:65005"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.647733806Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"uri":"/crucible/0/regions/60dc632e-356f-449c-afd7-45165d25d106","method":"GET","req_id":"2d9969b2-20e7-4497-9ecf-80273829383a","remote_addr":"[fd00:1122:3344:101::a]:65005","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":99,"response_code":"200"} {"msg":"path is \"/data/regions/60dc632e-356f-449c-afd7-45165d25d106\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.647985139Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/60dc632e-356f-449c-afd7-45165d25d106","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.659747456Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"datafile"} {"msg":"region 60dc632e-356f-449c-afd7-45165d25d106 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.668721549Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.668947252Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.668987612Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"uri":"/crucible/0/regions/60dc632e-356f-449c-afd7-45165d25d106","method":"DELETE","req_id":"5ba5b520-c02e-42ce-8c1b-722dddb710f8","remote_addr":"[fd00:1122:3344:101::a]:65005","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":21031,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.669655601Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"uri":"/crucible/0/regions/60dc632e-356f-449c-afd7-45165d25d106","method":"GET","req_id":"18d0e59d-05ff-4323-8d6c-efef0ae1413b","remote_addr":"[fd00:1122:3344:101::a]:65005","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":531,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-60dc632e-356f-449c-afd7-45165d25d106 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.670162847Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.682691734Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/60dc632e-356f-449c-afd7-45165d25d106\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.692915183Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"region":"60dc632e-356f-449c-afd7-45165d25d106","component":"worker"} {"msg":"region 60dc632e-356f-449c-afd7-45165d25d106 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.763789692Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-28T05:27:10.816632425Z","hostname":"oxz_crucible_2fc7f368-9958-4717-841e-85ca24716f82","pid":22253,"uri":"/crucible/0/regions/60dc632e-356f-449c-afd7-45165d25d106","method":"GET","req_id":"ce8062b0-f4e0-4b16-a90a-2dd6f965ce97","remote_addr":"[fd00:1122:3344:101::a]:65005","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":696,"response_code":"200"}