[ Dec 14 12:51:41 Enabled. ] [ Dec 14 12:51:41 Rereading configuration. ] [ Dec 14 12:51:43 Rereading configuration. ] [ Dec 14 12:51:45 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-14T12:51:46.359553508Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:51:46.363652971Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:51:46.363673671Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:51:46.541688943Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:46.748690209Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:50336"} {"msg":"region 4b99743f-28ea-4b73-8724-3e4fe4905f56 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:46.826007719Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:46.826847558Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"uri":"/crucible/0/regions","method":"POST","req_id":"dc607055-7052-450b-99f0-c1c871423245","remote_addr":"[fd00:1122:3344:101::a]:50336","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":8788,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:46.826885999Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:46.837899498Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:46.837933029Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"4b99743f-28ea-4b73-8724-3e4fe4905f56\"), 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/4b99743f-28ea-4b73-8724-3e4fe4905f56\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:46.902768647Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"region":"4b99743f-28ea-4b73-8724-3e4fe4905f56","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.015692274Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"uri":"/crucible/0/regions","method":"POST","req_id":"f4840285-90b3-4898-b9d4-25a6864bac0f","remote_addr":"[fd00:1122:3344:101::a]:50336","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":93,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.163689254Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"region":"4b99743f-28ea-4b73-8724-3e4fe4905f56","component":"worker"} {"msg":"region 4b99743f-28ea-4b73-8724-3e4fe4905f56 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.163725605Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.163968921Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-4b99743f-28ea-4b73-8724-3e4fe4905f56","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.164420871Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-4b99743f-28ea-4b73-8724-3e4fe4905f56","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.174246134Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.19131612Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-4b99743f-28ea-4b73-8724-3e4fe4905f56","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.196407275Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.197113191Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.197230164Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.197238174Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.197269995Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.204160281Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.222837194Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:52:47.483388293Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"uri":"/crucible/0/regions","method":"POST","req_id":"0193da96-5be0-4433-8a71-d24231976f61","remote_addr":"[fd00:1122:3344:101::a]:50336","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":63,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.378332925Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:50445"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.381298632Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"uri":"/crucible/0/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56","method":"GET","req_id":"c28f554a-0e12-449c-b81c-e5fd1bb8b78a","remote_addr":"[fd00:1122:3344:101::a]:50445","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":2926,"response_code":"200"} {"msg":"path is \"/data/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.383609964Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.393642251Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"datafile"} {"msg":"snapshot is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56@41b140a0-e79e-4028-988c-ae24d62d8118","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.402537583Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56\", \"41b140a0-e79e-4028-988c-ae24d62d8118\"]","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.402577803Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"ZfsSnapshotInterface"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.414915403Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"uri":"/crucible/0/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56/snapshots/41b140a0-e79e-4028-988c-ae24d62d8118","method":"GET","req_id":"9e2322fc-0c88-4e89-b047-b40b22283d04","remote_addr":"[fd00:1122:3344:101::a]:50445","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":31322,"response_code":"200"} {"msg":"path is \"/data/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.415996577Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.423227991Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"datafile"} {"msg":"snapshot is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56@41b140a0-e79e-4028-988c-ae24d62d8118","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.431375646Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56\", \"41b140a0-e79e-4028-988c-ae24d62d8118\"]","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.431402066Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"ZfsSnapshotInterface"} {"msg":"requesting running snapshot 4b99743f-28ea-4b73-8724-3e4fe4905f56-41b140a0-e79e-4028-988c-ae24d62d8118 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.439556271Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"datafile"} {"msg":"applying SMF actions for region 4b99743f-28ea-4b73-8724-3e4fe4905f56 running snapshot 41b140a0-e79e-4028-988c-ae24d62d8118 (state Requested)...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.440160685Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.440182305Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"uri":"/crucible/0/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56/snapshots/41b140a0-e79e-4028-988c-ae24d62d8118/run","method":"POST","req_id":"2a75465c-e243-4ebd-8c54-798e453d63fb","remote_addr":"[fd00:1122:3344:101::a]:50445","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":25071,"response_code":"200"} {"msg":"creating missing snapshot instance snapshot-4b99743f-28ea-4b73-8724-3e4fe4905f56-41b140a0-e79e-4028-988c-ae24d62d8118","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.447796547Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:snapshot-4b99743f-28ea-4b73-8724-3e4fe4905f56-41b140a0-e79e-4028-988c-ae24d62d8118","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.451174674Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:snapshot-4b99743f-28ea-4b73-8724-3e4fe4905f56-41b140a0-e79e-4028-988c-ae24d62d8118","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.46733821Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/4b99743f-28ea-4b73-8724-3e4fe4905f56/.zfs/snapshot/41b140a0-e79e-4028-988c-ae24d62d8118","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.467593206Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19001","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.467655377Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ensure mode SCF_TYPE_ASTRING ro","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.467699528Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.467740579Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.46779379Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.471710999Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.476789564Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"worker"} {"msg":"region 4b99743f-28ea-4b73-8724-3e4fe4905f56 running snapshot 41b140a0-e79e-4028-988c-ae24d62d8118 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-14T12:58:08.476800464Z","hostname":"oxz_crucible_6fc75ba6-25d4-41b6-9970-49bca87efc49","pid":21435,"component":"datafile"}