[ Dec 5 05:08:17 Enabled. ] [ Dec 5 05:08:17 Rereading configuration. ] [ Dec 5 05:08:20 Rereading configuration. ] [ Dec 5 05:08:26 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=oxControlService19 ++ 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::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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService19/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::12]: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-12-05T05:08:26.752964385Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.756299729Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:26.756316069Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:08:27.023699917Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.042119217Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:58683"} {"msg":"region 4e09e1b5-93eb-4f00-853c-f202518046cc state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.088721762Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.089580767Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.093571531Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"uri":"/crucible/0/regions","method":"POST","req_id":"3fe1ed5e-ce0d-41fe-8a1e-7e6ae9e4776d","remote_addr":"[fd00:1122:3344:101::c]:58683","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":18112,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4e09e1b5-93eb-4f00-853c-f202518046cc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.100055817Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4e09e1b5-93eb-4f00-853c-f202518046cc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.100069787Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4e09e1b5-93eb-4f00-853c-f202518046cc\"), 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/4e09e1b5-93eb-4f00-853c-f202518046cc\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.1477392Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"region":"4e09e1b5-93eb-4f00-853c-f202518046cc","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.307019354Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"region":"4e09e1b5-93eb-4f00-853c-f202518046cc","component":"worker"} {"msg":"region 4e09e1b5-93eb-4f00-853c-f202518046cc state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.307067785Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.307178037Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4e09e1b5-93eb-4f00-853c-f202518046cc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.309805589Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4e09e1b5-93eb-4f00-853c-f202518046cc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.315455851Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.33515704Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4e09e1b5-93eb-4f00-853c-f202518046cc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.338662487Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4e09e1b5-93eb-4f00-853c-f202518046cc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.339354759Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.339528891Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.339576622Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.339615693Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.340654269Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"uri":"/crucible/0/regions","method":"POST","req_id":"183627e1-975d-463e-835f-b89067e5e175","remote_addr":"[fd00:1122:3344:101::c]:58683","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.34871131Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:27.354337171Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.474909412Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:51765"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.475169886Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"uri":"/crucible/0/regions/4e09e1b5-93eb-4f00-853c-f202518046cc","method":"GET","req_id":"c3476823-0c91-46d8-b8c0-9f0132234616","remote_addr":"[fd00:1122:3344:101::c]:51765","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":223,"response_code":"200"} {"msg":"path is \"/data/regions/4e09e1b5-93eb-4f00-853c-f202518046cc\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.476187423Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4e09e1b5-93eb-4f00-853c-f202518046cc","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.485997232Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"datafile"} {"msg":"region 4e09e1b5-93eb-4f00-853c-f202518046cc state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.494702153Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.494880326Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.494936827Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"uri":"/crucible/0/regions/4e09e1b5-93eb-4f00-853c-f202518046cc","method":"DELETE","req_id":"bad2d635-28cd-44ba-a0f4-ccc3f7272f0e","remote_addr":"[fd00:1122:3344:101::c]:51765","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":19568,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.49509571Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"uri":"/crucible/0/regions/4e09e1b5-93eb-4f00-853c-f202518046cc","method":"GET","req_id":"64daa4a8-4ed2-446e-addd-dde725503096","remote_addr":"[fd00:1122:3344:101::c]:51765","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":26,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-4e09e1b5-93eb-4f00-853c-f202518046cc (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.496097656Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.500410476Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/4e09e1b5-93eb-4f00-853c-f202518046cc\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.510642382Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"region":"4e09e1b5-93eb-4f00-853c-f202518046cc","component":"worker"} {"msg":"region 4e09e1b5-93eb-4f00-853c-f202518046cc state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.554543934Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-05T05:09:28.575466523Z","hostname":"oxz_crucible_feb76d41-816e-4b57-b5fa-e306dfd86cd3","pid":22497,"uri":"/crucible/0/regions/4e09e1b5-93eb-4f00-853c-f202518046cc","method":"GET","req_id":"afe25d72-14e5-46ee-9eb6-71b5f1a149b7","remote_addr":"[fd00:1122:3344:101::c]:51765","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":97,"response_code":"200"}