[ Nov 7 09:48:05 Enabled. ] [ Nov 7 09:48:05 Rereading configuration. ] [ Nov 7 09:48:07 Rereading configuration. ] [ Nov 7 09:48:07 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=oxControlService21 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService21/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:08.621511525Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:08.624990923Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:08.625003583Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:08.711825094Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.94831732Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:57828"} {"msg":"region 2363f236-d585-4d58-8174-2e8f9f8d1048 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.951504103Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.953032389Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"uri":"/crucible/0/regions","method":"POST","req_id":"4a9d3b60-c7a7-46d2-8c23-984e84bb2d86","remote_addr":"[fd00:1122:3344:101::c]:57828","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":1915,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.953067829Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2363f236-d585-4d58-8174-2e8f9f8d1048","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.960866109Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2363f236-d585-4d58-8174-2e8f9f8d1048","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:12.960902219Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2363f236-d585-4d58-8174-2e8f9f8d1048\"), 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/2363f236-d585-4d58-8174-2e8f9f8d1048\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.020516739Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"region":"2363f236-d585-4d58-8174-2e8f9f8d1048","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.238171422Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"region":"2363f236-d585-4d58-8174-2e8f9f8d1048","component":"worker"} {"msg":"region 2363f236-d585-4d58-8174-2e8f9f8d1048 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.238216693Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.238312584Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2363f236-d585-4d58-8174-2e8f9f8d1048","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.238832703Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2363f236-d585-4d58-8174-2e8f9f8d1048","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.244949944Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.255053032Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"uri":"/crucible/0/regions","method":"POST","req_id":"64067bed-b6ff-49ee-ba7a-c48f1166571e","remote_addr":"[fd00:1122:3344:101::c]:57828","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.257559854Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2363f236-d585-4d58-8174-2e8f9f8d1048","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.26998016Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2363f236-d585-4d58-8174-2e8f9f8d1048","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.27056753Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.270641201Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.270686531Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.270725872Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.28022211Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:13.29469109Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.903426387Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:43913"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.934411732Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"uri":"/crucible/0/regions/2363f236-d585-4d58-8174-2e8f9f8d1048","method":"GET","req_id":"c2cf9c62-9d1b-4d0f-9eda-9bd06b0c8004","remote_addr":"[fd00:1122:3344:101::c]:43913","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":164,"response_code":"200"} {"msg":"path is \"/data/regions/2363f236-d585-4d58-8174-2e8f9f8d1048\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.934671426Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2363f236-d585-4d58-8174-2e8f9f8d1048","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.946440651Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"datafile"} {"msg":"region 2363f236-d585-4d58-8174-2e8f9f8d1048 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.955919718Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.956135112Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.956195503Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"uri":"/crucible/0/regions/2363f236-d585-4d58-8174-2e8f9f8d1048","method":"DELETE","req_id":"8d5953ea-7337-4ca3-82b8-c6741f565190","remote_addr":"[fd00:1122:3344:101::c]:43913","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21542,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.956357126Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"uri":"/crucible/0/regions/2363f236-d585-4d58-8174-2e8f9f8d1048","method":"GET","req_id":"9c2d075c-01ed-4ce3-99b3-5f054ff6ee4a","remote_addr":"[fd00:1122:3344:101::c]:43913","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-2363f236-d585-4d58-8174-2e8f9f8d1048 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.957422143Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.963718948Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2363f236-d585-4d58-8174-2e8f9f8d1048\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:04.975750108Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"region":"2363f236-d585-4d58-8174-2e8f9f8d1048","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:05.028458233Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"uri":"/crucible/0/regions/2363f236-d585-4d58-8174-2e8f9f8d1048","method":"GET","req_id":"35b7fa42-3a63-4d9f-b5c4-dbde42088411","remote_addr":"[fd00:1122:3344:101::c]:43913","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"region 2363f236-d585-4d58-8174-2e8f9f8d1048 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:05.044179503Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:52:05.171475996Z","hostname":"oxz_crucible_5bbbe0a1-834e-4dd1-b766-e1de3139da30","pid":25546,"uri":"/crucible/0/regions/2363f236-d585-4d58-8174-2e8f9f8d1048","method":"GET","req_id":"552eef1f-b867-4b44-a3ed-82b6911d2029","remote_addr":"[fd00:1122:3344:101::c]:43913","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":24,"response_code":"200"}