[ Feb 4 18:23:19 Enabled. ] [ Feb 4 18:23:19 Rereading configuration. ] [ Feb 4 18:23:20 Rereading configuration. ] [ Feb 4 18:23:22 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=oxControlService14 ++ 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::18 ++ 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 + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService14/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::18]: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":"2024-02-04T18:23:23.852576632Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.861136228Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.861149448Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:24.006986679Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.378834397Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:57941"} {"msg":"region b4128451-9330-40e7-89fe-6f00607e54ee state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.446466101Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.446767415Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"uri":"/crucible/0/regions","method":"POST","req_id":"031e048c-5315-4a77-a3de-9cef9d0e4342","remote_addr":"[fd00:1122:3344:101::b]:57941","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":586,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.45110479Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b4128451-9330-40e7-89fe-6f00607e54ee","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.461549257Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b4128451-9330-40e7-89fe-6f00607e54ee","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.461579641Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"b4128451-9330-40e7-89fe-6f00607e54ee\"), 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/b4128451-9330-40e7-89fe-6f00607e54ee\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.513411607Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"region":"b4128451-9330-40e7-89fe-6f00607e54ee","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.618000108Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"uri":"/crucible/0/regions","method":"POST","req_id":"64953046-224b-47fe-b24c-d985589afd09","remote_addr":"[fd00:1122:3344:101::b]:57941","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.838351721Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"region":"b4128451-9330-40e7-89fe-6f00607e54ee","component":"worker"} {"msg":"region b4128451-9330-40e7-89fe-6f00607e54ee state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.838394781Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.838512803Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-b4128451-9330-40e7-89fe-6f00607e54ee","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.838968319Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-b4128451-9330-40e7-89fe-6f00607e54ee","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.842380422Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.848952715Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-b4128451-9330-40e7-89fe-6f00607e54ee","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.852144295Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/b4128451-9330-40e7-89fe-6f00607e54ee","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.853104077Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.853202128Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.853248099Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.85328948Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.860156206Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:16.865834788Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.126146276Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"uri":"/crucible/0/regions","method":"POST","req_id":"6651c7c4-0fe7-461c-9793-3b1f3278f443","remote_addr":"[fd00:1122:3344:101::b]:57941","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":64,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.88966067Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:65489"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.890157936Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"uri":"/crucible/0/regions/b4128451-9330-40e7-89fe-6f00607e54ee","method":"GET","req_id":"193b9f10-5718-44f1-a708-48d9b79343f9","remote_addr":"[fd00:1122:3344:101::b]:65489","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":476,"response_code":"200"} {"msg":"path is \"/data/regions/b4128451-9330-40e7-89fe-6f00607e54ee\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.890308798Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b4128451-9330-40e7-89fe-6f00607e54ee","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.898889146Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"datafile"} {"msg":"region b4128451-9330-40e7-89fe-6f00607e54ee state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.907404504Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.907559286Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.907597926Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"uri":"/crucible/0/regions/b4128451-9330-40e7-89fe-6f00607e54ee","method":"DELETE","req_id":"c632a998-cccc-42c3-82ed-e5e2d5eebc92","remote_addr":"[fd00:1122:3344:101::b]:65489","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":17310,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.907761608Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"uri":"/crucible/0/regions/b4128451-9330-40e7-89fe-6f00607e54ee","method":"GET","req_id":"9b2576f0-65e2-44e5-81a8-e1bd1302138d","remote_addr":"[fd00:1122:3344:101::b]:65489","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-b4128451-9330-40e7-89fe-6f00607e54ee (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.908594189Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.912964344Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/b4128451-9330-40e7-89fe-6f00607e54ee\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.923142093Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"region":"b4128451-9330-40e7-89fe-6f00607e54ee","component":"worker"} {"msg":"region b4128451-9330-40e7-89fe-6f00607e54ee state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:17.977792153Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:18.036201101Z","hostname":"oxz_crucible_972b380d-00bf-439a-b3c6-a66205c13b86","pid":22258,"uri":"/crucible/0/regions/b4128451-9330-40e7-89fe-6f00607e54ee","method":"GET","req_id":"7e06eba0-179c-44a8-9670-8cfbfabda649","remote_addr":"[fd00:1122:3344:101::b]:65489","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":81,"response_code":"200"}