[ Oct 25 07:31:06 Enabled. ] [ Oct 25 07:31:06 Rereading configuration. ] [ Oct 25 07:31:08 Rereading configuration. ] [ Oct 25 07:31:09 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ 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::16 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:10.714335599Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:10.720215094Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:10.720226605Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:31:10.882007202Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.496816711Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52477"} {"msg":"region 0f16a3a7-9149-406f-b21a-c7c1ba207374 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.528784054Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.533502328Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.533531269Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"uri":"/crucible/0/regions","method":"POST","req_id":"702b5691-67bf-4561-b35d-97df99f01b76","remote_addr":"[fd00:1122:3344:101::c]:52477","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":5164,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.54362679Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.54365238Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0f16a3a7-9149-406f-b21a-c7c1ba207374\"), 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/0f16a3a7-9149-406f-b21a-c7c1ba207374\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.604612503Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"region":"0f16a3a7-9149-406f-b21a-c7c1ba207374","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.862704378Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"region":"0f16a3a7-9149-406f-b21a-c7c1ba207374","component":"worker"} {"msg":"region 0f16a3a7-9149-406f-b21a-c7c1ba207374 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.862764619Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.86283724Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.864891617Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"uri":"/crucible/0/regions","method":"POST","req_id":"b6010fcd-29d0-44e1-b295-a545f30adb0d","remote_addr":"[fd00:1122:3344:101::c]:52477","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":81,"response_code":"200"} {"msg":"creating missing downstairs instance downstairs-0f16a3a7-9149-406f-b21a-c7c1ba207374","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.865200793Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0f16a3a7-9149-406f-b21a-c7c1ba207374","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.868738826Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.876890482Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0f16a3a7-9149-406f-b21a-c7c1ba207374","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.879775064Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.880337604Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.880412425Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.880456566Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.880496427Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.890250482Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:32:27.894732862Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.305893852Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:40692"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.336781846Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"uri":"/crucible/0/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374","method":"GET","req_id":"0b8e1144-f273-47ab-ae52-a248528ec550","remote_addr":"[fd00:1122:3344:101::c]:40692","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":133,"response_code":"200"} {"msg":"path is \"/data/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.33700279Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.350319089Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"datafile"} {"msg":"region 0f16a3a7-9149-406f-b21a-c7c1ba207374 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.361305205Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.361499049Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.36156151Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"uri":"/crucible/0/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374","method":"DELETE","req_id":"a553c16d-99e9-4cb8-802c-146a6981869a","remote_addr":"[fd00:1122:3344:101::c]:40692","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":24581,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.361685742Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"uri":"/crucible/0/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374","method":"GET","req_id":"da125e6c-03cd-4afd-80e8-ec06764e52f6","remote_addr":"[fd00:1122:3344:101::c]:40692","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":30,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0f16a3a7-9149-406f-b21a-c7c1ba207374 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.362819002Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.370859727Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.383430892Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"region":"0f16a3a7-9149-406f-b21a-c7c1ba207374","component":"worker"} {"msg":"region 0f16a3a7-9149-406f-b21a-c7c1ba207374 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.438329526Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-25T07:35:18.457374047Z","hostname":"oxz_crucible_3f8146e4-a9b3-4851-badc-967edc34936e","pid":23431,"uri":"/crucible/0/regions/0f16a3a7-9149-406f-b21a-c7c1ba207374","method":"GET","req_id":"21218978-a5a9-41ce-b0c5-577f8c41878a","remote_addr":"[fd00:1122:3344:101::c]:40692","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":77,"response_code":"200"}