[ Oct 31 04:28:11 Enabled. ] [ Oct 31 04:28:11 Rereading configuration. ] [ Oct 31 04:28:15 Rereading configuration. ] [ Oct 31 04:28:18 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_31bd71cd-4736-4a12-a387-9b74b050396f/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 + [[ 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::16 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_31bd71cd-4736-4a12-a387-9b74b050396f/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:28:18.931308944Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:28:18.934942021Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:28:18.934949781Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:28:19.103197824Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.243147317Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:49417"} {"msg":"region 21735afa-0631-4e65-bd04-3d1aaaac98b6 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.286849696Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.293089043Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.293123873Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"uri":"/crucible/0/regions","method":"POST","req_id":"bbc8cbb5-3151-4b9f-9cc7-39aba47c9910","remote_addr":"[fd00:1122:3344:101::b]:49417","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":16784,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.305026788Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.305061329Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"21735afa-0631-4e65-bd04-3d1aaaac98b6\"), 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/21735afa-0631-4e65-bd04-3d1aaaac98b6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.410020379Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"region":"21735afa-0631-4e65-bd04-3d1aaaac98b6","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.485880908Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"uri":"/crucible/0/regions","method":"POST","req_id":"3f20268c-4ca5-41b6-9323-fbae26a36b0b","remote_addr":"[fd00:1122:3344:101::b]:49417","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.677976831Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"region":"21735afa-0631-4e65-bd04-3d1aaaac98b6","component":"worker"} {"msg":"region 21735afa-0631-4e65-bd04-3d1aaaac98b6 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.678007642Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.678115094Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-21735afa-0631-4e65-bd04-3d1aaaac98b6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.680655023Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-21735afa-0631-4e65-bd04-3d1aaaac98b6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.685271315Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.697120559Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-21735afa-0631-4e65-bd04-3d1aaaac98b6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.700160796Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.701574548Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.701666259Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.70172112Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.701760731Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.713793368Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:27.720620214Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.234489986Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"uri":"/crucible/0/regions","method":"POST","req_id":"88f1d2e3-bc54-46b3-8397-1dc1ddfd2f7c","remote_addr":"[fd00:1122:3344:101::b]:49417","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":96,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.503744749Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:33952"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.56695435Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"uri":"/crucible/0/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6","method":"GET","req_id":"db00f458-e02e-4f0a-9f6c-3fb006ec5f86","remote_addr":"[fd00:1122:3344:101::b]:33952","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":111,"response_code":"200"} {"msg":"path is \"/data/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.567183834Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"datafile"} {"msg":"dataset is oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.579717589Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"datafile"} {"msg":"region 21735afa-0631-4e65-bd04-3d1aaaac98b6 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.58945851Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.589593672Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.589663453Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"uri":"/crucible/0/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6","method":"DELETE","req_id":"24776444-596d-4ffc-916c-ac72397b71c9","remote_addr":"[fd00:1122:3344:101::b]:33952","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22501,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.589805615Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"uri":"/crucible/0/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6","method":"GET","req_id":"85fcca26-1ad9-48a3-af31-5d73ea2ad792","remote_addr":"[fd00:1122:3344:101::b]:33952","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-21735afa-0631-4e65-bd04-3d1aaaac98b6 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.590830911Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.59594005Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_31bd71cd-4736-4a12-a387-9b74b050396f/crucible/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.607442109Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"region":"21735afa-0631-4e65-bd04-3d1aaaac98b6","component":"worker"} {"msg":"region 21735afa-0631-4e65-bd04-3d1aaaac98b6 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.663701113Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-31T04:29:28.734067276Z","hostname":"oxz_crucible_3639055c-cad4-4944-83e6-62f50bfab860","pid":22071,"uri":"/crucible/0/regions/21735afa-0631-4e65-bd04-3d1aaaac98b6","method":"GET","req_id":"05dc5137-63d8-43ff-927d-b33111a0d1fc","remote_addr":"[fd00:1122:3344:101::b]:33952","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":97,"response_code":"200"}