[ Nov 19 06:11:08 Enabled. ] [ Nov 19 06:11:08 Rereading configuration. ] [ Nov 19 06:11:10 Rereading configuration. ] [ Nov 19 06:11:11 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=oxControlService23 ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService23/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-11-19T06:11:11.980853181Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:11.985315336Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:11.985326426Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:11:12.121699993Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.128203703Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:38854"} {"msg":"region 3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.140723018Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.144353196Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"uri":"/crucible/0/regions","method":"POST","req_id":"4cd1a9e7-2cf2-4bdf-aede-0d2fbc5c5b30","remote_addr":"[fd00:1122:3344:101::a]:38854","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":8276,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.144386506Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.156511374Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.156538894Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7\"), 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/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.318742839Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"region":"3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.465575708Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"uri":"/crucible/0/regions","method":"POST","req_id":"7999ab60-4c52-4ef0-a6cc-f740acf962db","remote_addr":"[fd00:1122:3344:101::a]:38854","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":106,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.649168177Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"region":"3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","component":"worker"} {"msg":"region 3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.649202908Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.649326461Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.649816591Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.677388777Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.716758993Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.747066347Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.748128979Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.748204561Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.748255362Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.748297213Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.781070499Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.878158821Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:07.908685749Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"uri":"/crucible/0/regions","method":"POST","req_id":"726b9878-d948-4e5f-b6a6-12893d2a7fac","remote_addr":"[fd00:1122:3344:101::a]:38854","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.873267316Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:36985"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.934896195Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"uri":"/crucible/0/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","method":"GET","req_id":"6e276a9c-cea1-410c-86f6-492aa80f9633","remote_addr":"[fd00:1122:3344:101::a]:36985","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":155,"response_code":"200"} {"msg":"path is \"/data/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.935183361Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.953125402Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"datafile"} {"msg":"region 3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.962202095Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.962378908Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.96244944Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"uri":"/crucible/0/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","method":"DELETE","req_id":"79970c8a-e116-49d4-8e2a-72d31d90253e","remote_addr":"[fd00:1122:3344:101::a]:36985","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":27317,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.962590213Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"uri":"/crucible/0/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","method":"GET","req_id":"22ddf8d7-98a0-4c72-8890-3dea4316fca0","remote_addr":"[fd00:1122:3344:101::a]:36985","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.963630915Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.978049461Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:08.989430353Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"region":"3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:09.103834872Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"uri":"/crucible/0/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","method":"GET","req_id":"cf447fdc-b85f-4c55-84e5-9afa346c567c","remote_addr":"[fd00:1122:3344:101::a]:36985","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":105,"response_code":"200"} {"msg":"region 3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:09.142709148Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-19T06:12:09.220649394Z","hostname":"oxz_crucible_60aafcd7-d0c0-4ba8-a321-90aa29af4b7b","pid":20382,"uri":"/crucible/0/regions/3518c3b4-9c39-4ffb-a5b6-324ed4c7dda7","method":"GET","req_id":"bf7384fd-d9a4-4582-9d27-ca4b7a656eb7","remote_addr":"[fd00:1122:3344:101::a]:36985","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":40,"response_code":"200"}