[ Oct 24 01:16:34 Enabled. ] [ Oct 24 01:16:34 Rereading configuration. ] [ Oct 24 01:16:38 Rereading configuration. ] [ Oct 24 01:16:40 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=oxControlService17 ++ 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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 + [[ oxControlService17 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService17 ipadm: Could not delete oxControlService17: Interface does not exist + true + ipadm create-if -t oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService17 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService17 + ipadm show-addr oxControlService17/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService17/ll + ipadm show-addr oxControlService17/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::19 oxControlService17/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.667851404Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.680459712Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.680470032Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.892885228Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.866024032Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:45195"} {"msg":"region 2d4f04aa-91ed-445c-8d45-4b2c05e4c183 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.898129434Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.899726195Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"uri":"/crucible/0/regions","method":"POST","req_id":"58bca1cf-a5f9-4dbe-9d8d-502ac88785e4","remote_addr":"[fd00:1122:3344:101::a]:45195","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":2408,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.899750216Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.909877065Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.909908775Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2d4f04aa-91ed-445c-8d45-4b2c05e4c183\"), 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/2d4f04aa-91ed-445c-8d45-4b2c05e4c183\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:19.966136151Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"region":"2d4f04aa-91ed-445c-8d45-4b2c05e4c183","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.151213189Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"uri":"/crucible/0/regions","method":"POST","req_id":"8e6fcd23-1f4f-4fb8-bd42-a3ef04d24326","remote_addr":"[fd00:1122:3344:101::a]:45195","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.15173485Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"region":"2d4f04aa-91ed-445c-8d45-4b2c05e4c183","component":"worker"} {"msg":"region 2d4f04aa-91ed-445c-8d45-4b2c05e4c183 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.15175265Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.151918923Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2d4f04aa-91ed-445c-8d45-4b2c05e4c183","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.152505255Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2d4f04aa-91ed-445c-8d45-4b2c05e4c183","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.155887481Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.166113882Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2d4f04aa-91ed-445c-8d45-4b2c05e4c183","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.170822435Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.172255883Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.172346625Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.172404056Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.172445647Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.189322919Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.198793605Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:20.754667823Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"uri":"/crucible/0/regions","method":"POST","req_id":"775fc335-9315-44b7-8248-17472cbdf1d0","remote_addr":"[fd00:1122:3344:101::a]:45195","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.827660829Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:62384"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.859409703Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"uri":"/crucible/0/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183","method":"GET","req_id":"a03076b5-ed54-4b10-b0e1-6237682bdb45","remote_addr":"[fd00:1122:3344:101::a]:62384","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":161,"response_code":"200"} {"msg":"path is \"/data/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.859634527Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.873048851Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"datafile"} {"msg":"region 2d4f04aa-91ed-445c-8d45-4b2c05e4c183 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.883197751Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.883482096Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.883529997Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"uri":"/crucible/0/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183","method":"DELETE","req_id":"72ec179e-3469-478f-a31e-187eb8a1b86c","remote_addr":"[fd00:1122:3344:101::a]:62384","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":23922,"response_code":"204"} {"msg":"disabling downstairs instance: downstairs-2d4f04aa-91ed-445c-8d45-4b2c05e4c183 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.884808762Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.884840573Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"uri":"/crucible/0/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183","method":"GET","req_id":"6c509c16-5578-41e9-b6d9-b3f72782f2f9","remote_addr":"[fd00:1122:3344:101::a]:62384","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.892745898Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.905854876Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"region":"2d4f04aa-91ed-445c-8d45-4b2c05e4c183","component":"worker"} {"msg":"region 2d4f04aa-91ed-445c-8d45-4b2c05e4c183 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.955465951Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:21:10.989322037Z","hostname":"oxz_crucible_6dea1c6e-e6f8-48b7-a975-9c2942f34c41","pid":25083,"uri":"/crucible/0/regions/2d4f04aa-91ed-445c-8d45-4b2c05e4c183","method":"GET","req_id":"d5f53dd5-24fb-46d1-abad-b5bf80f8e00a","remote_addr":"[fd00:1122:3344:101::a]:62384","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":98,"response_code":"200"}