[ Nov 14 22:15:17 Enabled. ] [ Nov 14 22:15:17 Rereading configuration. ] [ Nov 14 22:15:18 Rereading configuration. ] [ Nov 14 22:15:20 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=oxControlService11 ++ 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::1a ++ 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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService11/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::1a]: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-14T22:15:21.112265294Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:21.119246403Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:21.119259154Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:21.303812471Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:45.973042883Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:45874"} {"msg":"region 29d63367-bee2-48ae-ab67-801152cca015 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.004643688Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.006175086Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"uri":"/crucible/0/regions","method":"POST","req_id":"0a9e3134-cce3-4f1c-85b0-7ddd248fde65","remote_addr":"[fd00:1122:3344:101::b]:45874","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":2053,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.006212967Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/29d63367-bee2-48ae-ab67-801152cca015","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.017250271Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/29d63367-bee2-48ae-ab67-801152cca015","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.017283002Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"29d63367-bee2-48ae-ab67-801152cca015\"), 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/29d63367-bee2-48ae-ab67-801152cca015\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.072494154Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"region":"29d63367-bee2-48ae-ab67-801152cca015","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.258919396Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"region":"29d63367-bee2-48ae-ab67-801152cca015","component":"worker"} {"msg":"region 29d63367-bee2-48ae-ab67-801152cca015 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.258964687Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.259061859Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-29d63367-bee2-48ae-ab67-801152cca015","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.259713901Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-29d63367-bee2-48ae-ab67-801152cca015","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.268356611Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.27807536Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"uri":"/crucible/0/regions","method":"POST","req_id":"3e54c34b-720e-42b3-ac7c-985345d150c7","remote_addr":"[fd00:1122:3344:101::b]:45874","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.27857452Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-29d63367-bee2-48ae-ab67-801152cca015","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.282121266Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/29d63367-bee2-48ae-ab67-801152cca015","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.282823848Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.28290952Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.282958111Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.283001042Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.287541286Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.296532872Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.038911722Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47861"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.070112119Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"uri":"/crucible/0/regions/29d63367-bee2-48ae-ab67-801152cca015","method":"GET","req_id":"9bc5c0fe-10f4-46cc-837d-94af35bd6332","remote_addr":"[fd00:1122:3344:101::b]:47861","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":163,"response_code":"200"} {"msg":"path is \"/data/regions/29d63367-bee2-48ae-ab67-801152cca015\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.070379504Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/29d63367-bee2-48ae-ab67-801152cca015","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.082375347Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"datafile"} {"msg":"region 29d63367-bee2-48ae-ab67-801152cca015 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.093295619Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.09391501Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.093961971Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"uri":"/crucible/0/regions/29d63367-bee2-48ae-ab67-801152cca015","method":"DELETE","req_id":"3ff51138-b58e-42ce-af9e-1351c95ae2f2","remote_addr":"[fd00:1122:3344:101::b]:47861","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":23610,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.094086713Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"uri":"/crucible/0/regions/29d63367-bee2-48ae-ab67-801152cca015","method":"GET","req_id":"ee1012e8-4062-4acc-b430-7e04aab8ae1e","remote_addr":"[fd00:1122:3344:101::b]:47861","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-29d63367-bee2-48ae-ab67-801152cca015 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.095220504Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.104588428Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/29d63367-bee2-48ae-ab67-801152cca015\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.117231692Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"region":"29d63367-bee2-48ae-ab67-801152cca015","component":"worker"} {"msg":"region 29d63367-bee2-48ae-ab67-801152cca015 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.184045289Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.218512527Z","hostname":"oxz_crucible_4e989f58-0b35-4905-b57f-b15cb4af5091","pid":25637,"uri":"/crucible/0/regions/29d63367-bee2-48ae-ab67-801152cca015","method":"GET","req_id":"c3cbcfb2-e0eb-4e9f-85b9-946d231a8927","remote_addr":"[fd00:1122:3344:101::b]:47861","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":70,"response_code":"200"}