[ Dec 13 06:38:50 Enabled. ] [ Dec 13 06:38:50 Rereading configuration. ] [ Dec 13 06:38:53 Rereading configuration. ] [ Dec 13 06:38:56 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_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 + [[ 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::18 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_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":"2023-12-13T06:38:57.034226549Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:38:57.038486681Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:38:57.038504752Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:38:57.241621903Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.131291075Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:55948"} {"msg":"region c5205a14-376a-4d50-a482-3be47a2617d2 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.160463625Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.16129272Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"uri":"/crucible/0/regions","method":"POST","req_id":"5e98f38f-cb63-460a-b52a-13ce90e61e58","remote_addr":"[fd00:1122:3344:101::a]:55948","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":13352,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.161824097Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c5205a14-376a-4d50-a482-3be47a2617d2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.17378953Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c5205a14-376a-4d50-a482-3be47a2617d2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.173834671Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"c5205a14-376a-4d50-a482-3be47a2617d2\"), 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/c5205a14-376a-4d50-a482-3be47a2617d2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.219443333Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"region":"c5205a14-376a-4d50-a482-3be47a2617d2","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.374034471Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"region":"c5205a14-376a-4d50-a482-3be47a2617d2","component":"worker"} {"msg":"region c5205a14-376a-4d50-a482-3be47a2617d2 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.374079013Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.374169686Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-c5205a14-376a-4d50-a482-3be47a2617d2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.37849319Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.380098331Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"uri":"/crucible/0/regions","method":"POST","req_id":"af186254-b4fc-4af8-92fd-31a81b2532d3","remote_addr":"[fd00:1122:3344:101::a]:55948","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-c5205a14-376a-4d50-a482-3be47a2617d2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.384668413Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.396922355Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-c5205a14-376a-4d50-a482-3be47a2617d2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.400110664Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/c5205a14-376a-4d50-a482-3be47a2617d2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.400818126Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.400889549Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.40093427Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.400974261Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.405988067Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:53.416133964Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.277170262Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:62381"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.277445191Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"uri":"/crucible/0/regions/c5205a14-376a-4d50-a482-3be47a2617d2","method":"GET","req_id":"bcd39d97-f049-4488-ad64-539307cd4d78","remote_addr":"[fd00:1122:3344:101::a]:62381","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":252,"response_code":"200"} {"msg":"path is \"/data/regions/c5205a14-376a-4d50-a482-3be47a2617d2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.277635757Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c5205a14-376a-4d50-a482-3be47a2617d2","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.287118563Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"datafile"} {"msg":"region c5205a14-376a-4d50-a482-3be47a2617d2 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.295737921Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.295889356Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.295995569Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"uri":"/crucible/0/regions/c5205a14-376a-4d50-a482-3be47a2617d2","method":"DELETE","req_id":"2af41c7c-ae5e-4402-b7bb-c48b06700afb","remote_addr":"[fd00:1122:3344:101::a]:62381","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":18401,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.296142434Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"uri":"/crucible/0/regions/c5205a14-376a-4d50-a482-3be47a2617d2","method":"GET","req_id":"cf05daad-f85c-430d-ac2d-9dcce66cdd30","remote_addr":"[fd00:1122:3344:101::a]:62381","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-c5205a14-376a-4d50-a482-3be47a2617d2 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.297192566Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.301083588Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/c5205a14-376a-4d50-a482-3be47a2617d2\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.311611176Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"region":"c5205a14-376a-4d50-a482-3be47a2617d2","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.359467148Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"uri":"/crucible/0/regions/c5205a14-376a-4d50-a482-3be47a2617d2","method":"GET","req_id":"cbc364f4-cd0a-452b-a452-76649e9ce162","remote_addr":"[fd00:1122:3344:101::a]:62381","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":65,"response_code":"200"} {"msg":"region c5205a14-376a-4d50-a482-3be47a2617d2 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.359585941Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-13T06:39:54.499769111Z","hostname":"oxz_crucible_8246e2e5-d44c-4c57-81a5-aeaaf523d56c","pid":22244,"uri":"/crucible/0/regions/c5205a14-376a-4d50-a482-3be47a2617d2","method":"GET","req_id":"7401712d-e1a8-4ed8-afff-2c16d2e8cd94","remote_addr":"[fd00:1122:3344:101::a]:62381","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":51,"response_code":"200"}