[ Nov 6 23:51:28 Enabled. ] [ Nov 6 23:51:28 Rereading configuration. ] [ Nov 6 23:51:30 Rereading configuration. ] [ Nov 6 23:51: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=oxControlService21 ++ 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::14 ++ 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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::14 oxControlService21/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::14]: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-11-06T23:51:33.504211619Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.508133156Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.508142286Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:51:33.689006928Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.811627488Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:58569"} {"msg":"region babc8b04-236b-4203-baf8-7ae9f2ae6496 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.855151924Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.860665104Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.860713534Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"uri":"/crucible/0/regions","method":"POST","req_id":"790247b9-caf8-46cc-b11c-a723ee484afb","remote_addr":"[fd00:1122:3344:101::b]:58569","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":13657,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.87151692Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.87154494Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"babc8b04-236b-4203-baf8-7ae9f2ae6496\"), 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/babc8b04-236b-4203-baf8-7ae9f2ae6496\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:25.952020098Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"region":"babc8b04-236b-4203-baf8-7ae9f2ae6496","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.132698788Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"uri":"/crucible/0/regions","method":"POST","req_id":"daaa0c09-61d7-409f-9d29-13054650441b","remote_addr":"[fd00:1122:3344:101::b]:58569","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.266619185Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"region":"babc8b04-236b-4203-baf8-7ae9f2ae6496","component":"worker"} {"msg":"region babc8b04-236b-4203-baf8-7ae9f2ae6496 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.266660255Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.266859678Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-babc8b04-236b-4203-baf8-7ae9f2ae6496","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.269466766Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-babc8b04-236b-4203-baf8-7ae9f2ae6496","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.273702727Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.284762016Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-babc8b04-236b-4203-baf8-7ae9f2ae6496","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.287680258Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.288352917Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.288434479Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.288484409Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.28852593Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.293276998Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.305547605Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:52:26.728931816Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"uri":"/crucible/0/regions","method":"POST","req_id":"11e33d78-1cd2-4d32-9078-40fe9e96f0e5","remote_addr":"[fd00:1122:3344:101::b]:58569","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":94,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:20.942088566Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:52770"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.004594885Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"uri":"/crucible/0/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496","method":"GET","req_id":"234062ef-ee7b-429c-bd5b-9579afeb7403","remote_addr":"[fd00:1122:3344:101::b]:52770","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":170,"response_code":"200"} {"msg":"path is \"/data/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.004750967Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.021841493Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"datafile"} {"msg":"region babc8b04-236b-4203-baf8-7ae9f2ae6496 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.031910458Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.032140451Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.032201942Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"uri":"/crucible/0/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496","method":"DELETE","req_id":"7dca6165-99b9-4e40-8693-f68d9d0310fe","remote_addr":"[fd00:1122:3344:101::b]:52770","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":27470,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.032388545Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"uri":"/crucible/0/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496","method":"GET","req_id":"9ba869a8-bfa8-434e-8a5c-5b701fe3d45e","remote_addr":"[fd00:1122:3344:101::b]:52770","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-babc8b04-236b-4203-baf8-7ae9f2ae6496 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.03342161Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.045868559Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.055368966Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"region":"babc8b04-236b-4203-baf8-7ae9f2ae6496","component":"worker"} {"msg":"region babc8b04-236b-4203-baf8-7ae9f2ae6496 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.134451843Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-06T23:55:21.146849952Z","hostname":"oxz_crucible_1efc32ac-580c-408f-9f6b-3d9f4f706d0c","pid":22278,"uri":"/crucible/0/regions/babc8b04-236b-4203-baf8-7ae9f2ae6496","method":"GET","req_id":"1a4be515-ebb6-406a-b603-b9aa9309786b","remote_addr":"[fd00:1122:3344:101::b]:52770","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":62,"response_code":"200"}