[ Oct 20 00:36:28 Enabled. ]
[ Oct 20 00:36:28 Rereading configuration. ]
[ Oct 20 00:36:30 Rereading configuration. ]
[ Oct 20 00:36:33 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_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
+ [[ 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::1a 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_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-10-20T00:36:33.945880479Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405}
{"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.95055014Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405}
{"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:33.95056059Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405}
{"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:36:34.096279927Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"}
{"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.651940641Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:38126"}
{"msg":"region 2e75c46e-c658-494b-afb0-d5b6a5982240 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.714629319Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"datafile"}
{"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.716372666Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.716399917Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"uri":"/crucible/0/regions","method":"POST","req_id":"c68d48d5-1a4b-4ed5-8c5b-348a263239b9","remote_addr":"[fd00:1122:3344:101::c]:38126","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":2119,"response_code":"200"}
{"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/2e75c46e-c658-494b-afb0-d5b6a5982240","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.726841435Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/2e75c46e-c658-494b-afb0-d5b6a5982240","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.726875624Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"creating region Region { id: RegionId(\"2e75c46e-c658-494b-afb0-d5b6a5982240\"), 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/2e75c46e-c658-494b-afb0-d5b6a5982240\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.781635399Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"region":"2e75c46e-c658-494b-afb0-d5b6a5982240","component":"worker"}
{"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.973514414Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"region":"2e75c46e-c658-494b-afb0-d5b6a5982240","component":"worker"}
{"msg":"region 2e75c46e-c658-494b-afb0-d5b6a5982240 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.973560415Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"datafile"}
{"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.973651857Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"creating missing downstairs instance downstairs-2e75c46e-c658-494b-afb0-d5b6a5982240","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.974210089Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2e75c46e-c658-494b-afb0-d5b6a5982240","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.977220134Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.985220288Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2e75c46e-c658-494b-afb0-d5b6a5982240","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.98808478Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2e75c46e-c658-494b-afb0-d5b6a5982240","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.988832726Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.988902907Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.988947518Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.988988769Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.993775233Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:31.999350204Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:37:32.037552521Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"uri":"/crucible/0/regions","method":"POST","req_id":"b42e5cf6-2bd2-4486-bc0a-9ced0e20a619","remote_addr":"[fd00:1122:3344:101::c]:38126","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":73,"response_code":"200"}
{"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.40826295Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:45766"}
{"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.439469253Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"uri":"/crucible/0/regions/2e75c46e-c658-494b-afb0-d5b6a5982240","method":"GET","req_id":"6ecea121-3b71-4776-bd9c-d066a4d3043a","remote_addr":"[fd00:1122:3344:101::c]:45766","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":69,"response_code":"200"}
{"msg":"path is \"/data/regions/2e75c46e-c658-494b-afb0-d5b6a5982240\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.439665373Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"datafile"}
{"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/2e75c46e-c658-494b-afb0-d5b6a5982240","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.450729927Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"datafile"}
{"msg":"region 2e75c46e-c658-494b-afb0-d5b6a5982240 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.461730045Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"datafile"}
{"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.461924319Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.461992251Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"uri":"/crucible/0/regions/2e75c46e-c658-494b-afb0-d5b6a5982240","method":"DELETE","req_id":"5f81604f-dfc1-46d4-b510-848fc05e5503","remote_addr":"[fd00:1122:3344:101::c]:45766","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":22321,"response_code":"204"}
{"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.462143894Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"uri":"/crucible/0/regions/2e75c46e-c658-494b-afb0-d5b6a5982240","method":"GET","req_id":"16e74e04-ae62-4231-ae2c-a17e919b1abc","remote_addr":"[fd00:1122:3344:101::c]:45766","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":29,"response_code":"200"}
{"msg":"disabling downstairs instance: downstairs-2e75c46e-c658-494b-afb0-d5b6a5982240 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.463154746Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.504669912Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"worker"}
{"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/2e75c46e-c658-494b-afb0-d5b6a5982240\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.517603182Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"region":"2e75c46e-c658-494b-afb0-d5b6a5982240","component":"worker"}
{"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.54626993Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"uri":"/crucible/0/regions/2e75c46e-c658-494b-afb0-d5b6a5982240","method":"GET","req_id":"ba87858c-b6e2-4486-aca7-8f9b787bd427","remote_addr":"[fd00:1122:3344:101::c]:45766","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":78,"response_code":"200"}
{"msg":"region 2e75c46e-c658-494b-afb0-d5b6a5982240 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.591286393Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"component":"datafile"}
{"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-20T00:40:27.610646611Z","hostname":"oxz_crucible_6babdd03-2ab9-42e1-9aac-61a1542d77c5","pid":21405,"uri":"/crucible/0/regions/2e75c46e-c658-494b-afb0-d5b6a5982240","method":"GET","req_id":"20766ba6-33c6-4bee-8276-5dcae0cb23a6","remote_addr":"[fd00:1122:3344:101::c]:45766","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":59,"response_code":"200"}