[ Oct 26 11:47:44 Enabled. ] [ Oct 26 11:47:44 Rereading configuration. ] [ Oct 26 11:47:45 Rereading configuration. ] [ Oct 26 11:47:46 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=oxControlService12 ++ 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::12 ++ 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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService12/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::12]: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-10-26T11:47:47.269500652Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:47.270804731Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:47.270816562Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:47:47.419527664Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.193838954Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:44384"} {"msg":"region 63c02db5-57fd-4d40-ac99-d7f167718fe8 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.245734052Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.251259273Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"uri":"/crucible/0/regions","method":"POST","req_id":"158c63b1-71bd-415c-aef5-0f9fa247b46d","remote_addr":"[fd00:1122:3344:101::a]:44384","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":18012,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.251290654Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.262824755Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.262850911Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"63c02db5-57fd-4d40-ac99-d7f167718fe8\"), 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/63c02db5-57fd-4d40-ac99-d7f167718fe8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.31551701Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"region":"63c02db5-57fd-4d40-ac99-d7f167718fe8","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.485135071Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"region":"63c02db5-57fd-4d40-ac99-d7f167718fe8","component":"worker"} {"msg":"region 63c02db5-57fd-4d40-ac99-d7f167718fe8 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.485185442Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.485280863Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-63c02db5-57fd-4d40-ac99-d7f167718fe8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.490017393Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-63c02db5-57fd-4d40-ac99-d7f167718fe8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.493811549Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.507946377Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-63c02db5-57fd-4d40-ac99-d7f167718fe8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.512026667Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.512581835Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.512658667Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.512708127Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.512750858Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.517155293Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.527258612Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:48:44.612560309Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"uri":"/crucible/0/regions","method":"POST","req_id":"e5c47823-0b4f-499f-a903-e39890205b53","remote_addr":"[fd00:1122:3344:101::a]:44384","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.249945843Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:65145"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.312445774Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"uri":"/crucible/0/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8","method":"GET","req_id":"8acfffd6-30b0-4f20-a438-2d633f3d3210","remote_addr":"[fd00:1122:3344:101::a]:65145","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":125,"response_code":"200"} {"msg":"path is \"/data/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.312678958Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.323891863Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"datafile"} {"msg":"region 63c02db5-57fd-4d40-ac99-d7f167718fe8 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.336109713Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.336303576Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.336363817Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"uri":"/crucible/0/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8","method":"DELETE","req_id":"1cf5b61c-b7f6-4073-a99a-6723e2042e03","remote_addr":"[fd00:1122:3344:101::a]:65145","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":23709,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.336530299Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"uri":"/crucible/0/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8","method":"GET","req_id":"2e73a4bb-a58f-405e-a3e7-807e5714f6dc","remote_addr":"[fd00:1122:3344:101::a]:65145","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-63c02db5-57fd-4d40-ac99-d7f167718fe8 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.337508534Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.350861221Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.362865148Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"region":"63c02db5-57fd-4d40-ac99-d7f167718fe8","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.414189854Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"uri":"/crucible/0/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8","method":"GET","req_id":"5baed7cb-c5ee-4522-94b8-31fde7982bcb","remote_addr":"[fd00:1122:3344:101::a]:65145","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":96,"response_code":"200"} {"msg":"region 63c02db5-57fd-4d40-ac99-d7f167718fe8 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.431269336Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-26T11:51:39.529514175Z","hostname":"oxz_crucible_3cc3cd81-72cd-4c25-870c-8030ab7d0a30","pid":24307,"uri":"/crucible/0/regions/63c02db5-57fd-4d40-ac99-d7f167718fe8","method":"GET","req_id":"f9cd8bef-7dd7-4115-9629-94e5c2735c19","remote_addr":"[fd00:1122:3344:101::a]:65145","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":46,"response_code":"200"}