[ Dec 6 05:05:31 Enabled. ] [ Dec 6 05:05:31 Rereading configuration. ] [ Dec 6 05:05:32 Rereading configuration. ] [ Dec 6 05:05:32 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=oxControlService19 ++ 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService19/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:33.679974012Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:33.684243239Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:33.684257339Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:33.805321116Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.196123643Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49553"} {"msg":"region 6d4a13ff-b0d7-4144-8087-5042e3a49a15 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.236688802Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.237515046Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.242106452Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"uri":"/crucible/0/regions","method":"POST","req_id":"27e432b5-f052-4d3f-bcfe-407b962c3313","remote_addr":"[fd00:1122:3344:101::a]:49553","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":20136,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.247555003Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.247572934Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6d4a13ff-b0d7-4144-8087-5042e3a49a15\"), 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/6d4a13ff-b0d7-4144-8087-5042e3a49a15\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.301235722Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"region":"6d4a13ff-b0d7-4144-8087-5042e3a49a15","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.502506631Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"uri":"/crucible/0/regions","method":"POST","req_id":"d16743a5-d70c-416d-a1ed-b400e2f01204","remote_addr":"[fd00:1122:3344:101::a]:49553","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.575171047Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"region":"6d4a13ff-b0d7-4144-8087-5042e3a49a15","component":"worker"} {"msg":"region 6d4a13ff-b0d7-4144-8087-5042e3a49a15 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.575198418Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.575307839Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6d4a13ff-b0d7-4144-8087-5042e3a49a15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.577922153Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6d4a13ff-b0d7-4144-8087-5042e3a49a15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.580913843Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.59507122Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6d4a13ff-b0d7-4144-8087-5042e3a49a15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.597823816Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.602917251Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.605520895Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.605574916Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.605612407Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.608881791Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:52.614406244Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.131153292Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"uri":"/crucible/0/regions","method":"POST","req_id":"7cfdc691-2b73-4919-96fe-9c0d38d84e8e","remote_addr":"[fd00:1122:3344:101::a]:49553","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.733793019Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:44946"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.735796342Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"uri":"/crucible/0/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15","method":"GET","req_id":"42bd9096-723e-42a9-81a8-59632daedf2b","remote_addr":"[fd00:1122:3344:101::a]:44946","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":1974,"response_code":"200"} {"msg":"path is \"/data/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.736518255Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.745439874Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"datafile"} {"msg":"region 6d4a13ff-b0d7-4144-8087-5042e3a49a15 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.754489515Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.754656468Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.754729179Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"uri":"/crucible/0/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15","method":"DELETE","req_id":"9d90744c-f377-476e-9897-ee76d0657c92","remote_addr":"[fd00:1122:3344:101::a]:44946","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":18775,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.754907582Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"uri":"/crucible/0/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15","method":"GET","req_id":"35f42463-a2a2-4da9-89a9-14c9827adde1","remote_addr":"[fd00:1122:3344:101::a]:44946","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":26,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6d4a13ff-b0d7-4144-8087-5042e3a49a15 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.755889669Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.759723423Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.770161418Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"region":"6d4a13ff-b0d7-4144-8087-5042e3a49a15","component":"worker"} {"msg":"region 6d4a13ff-b0d7-4144-8087-5042e3a49a15 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.818503457Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:53.893287478Z","hostname":"oxz_crucible_a658ba43-3f8c-4198-9a76-2c6392304e35","pid":19457,"uri":"/crucible/0/regions/6d4a13ff-b0d7-4144-8087-5042e3a49a15","method":"GET","req_id":"1f87ce52-8dc0-4449-9031-c4186e3e7721","remote_addr":"[fd00:1122:3344:101::a]:44946","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":54,"response_code":"200"}