[ Nov 2 05:42:57 Enabled. ] [ Nov 2 05:42:57 Rereading configuration. ] [ Nov 2 05:42:58 Rereading configuration. ] [ Nov 2 05:43:00 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=oxControlService13 ++ 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::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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService13/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::16]: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-11-02T05:43:00.982319661Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:43:00.990980391Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:43:00.990993401Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:43:01.300564874Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:03.925051121Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:62309"} {"msg":"region e6998842-b421-45b3-96f2-8a9b765245b1 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:03.997354049Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:03.999027703Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"uri":"/crucible/0/regions","method":"POST","req_id":"9ad8acfc-9ced-4bd9-9754-424fe8b9e50b","remote_addr":"[fd00:1122:3344:101::b]:62309","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":8969,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:03.999103976Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e6998842-b421-45b3-96f2-8a9b765245b1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.009363248Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e6998842-b421-45b3-96f2-8a9b765245b1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.009389678Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e6998842-b421-45b3-96f2-8a9b765245b1\"), 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/e6998842-b421-45b3-96f2-8a9b765245b1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.061825Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"region":"e6998842-b421-45b3-96f2-8a9b765245b1","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.162975653Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"uri":"/crucible/0/regions","method":"POST","req_id":"51d74c20-9ba3-4b79-993b-4efd37d4452a","remote_addr":"[fd00:1122:3344:101::b]:62309","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":94,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.236064572Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"region":"e6998842-b421-45b3-96f2-8a9b765245b1","component":"worker"} {"msg":"region e6998842-b421-45b3-96f2-8a9b765245b1 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.236102693Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.236266357Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e6998842-b421-45b3-96f2-8a9b765245b1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.239030601Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e6998842-b421-45b3-96f2-8a9b765245b1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.257363357Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.274602114Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e6998842-b421-45b3-96f2-8a9b765245b1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.277638295Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e6998842-b421-45b3-96f2-8a9b765245b1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.27821082Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.278284932Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.278328763Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.278368584Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.282855493Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.295195831Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:04.635820348Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"uri":"/crucible/0/regions","method":"POST","req_id":"7796b163-29c3-464c-8ff9-3169229ccf82","remote_addr":"[fd00:1122:3344:101::b]:62309","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.067224303Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:40307"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.131103737Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"uri":"/crucible/0/regions/e6998842-b421-45b3-96f2-8a9b765245b1","method":"GET","req_id":"88b1044d-a2fd-4220-bdad-606f701f2f38","remote_addr":"[fd00:1122:3344:101::b]:40307","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":134,"response_code":"200"} {"msg":"path is \"/data/regions/e6998842-b421-45b3-96f2-8a9b765245b1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.131324174Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e6998842-b421-45b3-96f2-8a9b765245b1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.142319445Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"datafile"} {"msg":"region e6998842-b421-45b3-96f2-8a9b765245b1 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.153273476Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.15342246Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.153494402Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"uri":"/crucible/0/regions/e6998842-b421-45b3-96f2-8a9b765245b1","method":"DELETE","req_id":"fbd4d788-bb98-4528-9ee9-ecb7a868d27e","remote_addr":"[fd00:1122:3344:101::b]:40307","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22204,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.153683537Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"uri":"/crucible/0/regions/e6998842-b421-45b3-96f2-8a9b765245b1","method":"GET","req_id":"f7887f9b-3c77-486a-a898-dc1316c135bc","remote_addr":"[fd00:1122:3344:101::b]:40307","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":26,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-e6998842-b421-45b3-96f2-8a9b765245b1 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.154767495Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.159537252Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/e6998842-b421-45b3-96f2-8a9b765245b1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.171317424Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"region":"e6998842-b421-45b3-96f2-8a9b765245b1","component":"worker"} {"msg":"region e6998842-b421-45b3-96f2-8a9b765245b1 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.233541225Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T05:44:05.284098416Z","hostname":"oxz_crucible_a58ba6e3-61ba-4003-a5dd-d613e703be99","pid":20831,"uri":"/crucible/0/regions/e6998842-b421-45b3-96f2-8a9b765245b1","method":"GET","req_id":"8127f3e2-7c3a-431d-b111-e7dff8aa4a91","remote_addr":"[fd00:1122:3344:101::b]:40307","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":73,"response_code":"200"}