[ Dec 7 05:43:32 Enabled. ] [ Dec 7 05:43:32 Rereading configuration. ] [ Dec 7 05:43:34 Rereading configuration. ] [ Dec 7 05:43:35 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=oxControlService22 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService22/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:43:35.812094234Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:43:35.815641367Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:43:35.815652817Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:43:35.923607956Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.580771596Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:34160"} {"msg":"region abf90425-0c19-4e74-8be9-ad5537ec40ce state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.644216833Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.645064432Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"uri":"/crucible/0/regions","method":"POST","req_id":"f7521b4e-1fad-4d5f-b7be-91a1c326596c","remote_addr":"[fd00:1122:3344:101::b]:34160","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":2020,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.645097593Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.654263368Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.654298239Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"abf90425-0c19-4e74-8be9-ad5537ec40ce\"), 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/abf90425-0c19-4e74-8be9-ad5537ec40ce\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.746952Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"region":"abf90425-0c19-4e74-8be9-ad5537ec40ce","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:26.839371485Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"uri":"/crucible/0/regions","method":"POST","req_id":"0a55ffff-f195-46f6-ae1e-76da10410e5e","remote_addr":"[fd00:1122:3344:101::b]:34160","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":723,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.027638457Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"region":"abf90425-0c19-4e74-8be9-ad5537ec40ce","component":"worker"} {"msg":"region abf90425-0c19-4e74-8be9-ad5537ec40ce state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.027687118Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.02776325Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-abf90425-0c19-4e74-8be9-ad5537ec40ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.02819815Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-abf90425-0c19-4e74-8be9-ad5537ec40ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.032860919Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.060702451Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-abf90425-0c19-4e74-8be9-ad5537ec40ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.077874914Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.078461378Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.078537229Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.07858234Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.078620801Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.098778563Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.107716443Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:27.119614422Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"uri":"/crucible/0/regions","method":"POST","req_id":"463d644c-0cde-4f44-9bf0-255aef8a289c","remote_addr":"[fd00:1122:3344:101::b]:34160","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":572,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.112208458Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:35237"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.112512095Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"uri":"/crucible/0/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce","method":"GET","req_id":"95591c97-58e5-4feb-83b0-e64b55cc902e","remote_addr":"[fd00:1122:3344:101::b]:35237","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":253,"response_code":"200"} {"msg":"path is \"/data/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.11527038Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.124752862Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"datafile"} {"msg":"region abf90425-0c19-4e74-8be9-ad5537ec40ce state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.133942348Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.134085271Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.134138922Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"uri":"/crucible/0/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce","method":"DELETE","req_id":"ce754174-cf51-47a6-9ff5-49b6a6875b0e","remote_addr":"[fd00:1122:3344:101::b]:35237","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":19496,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.134348267Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"uri":"/crucible/0/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce","method":"GET","req_id":"decd9e07-fc23-44c5-a5ae-502ffadd7efd","remote_addr":"[fd00:1122:3344:101::b]:35237","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-abf90425-0c19-4e74-8be9-ad5537ec40ce (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.135093195Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.144819612Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.154681233Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"region":"abf90425-0c19-4e74-8be9-ad5537ec40ce","component":"worker"} {"msg":"region abf90425-0c19-4e74-8be9-ad5537ec40ce state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.219675586Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-07T05:44:28.252670309Z","hostname":"oxz_crucible_152b19a5-bee0-43e8-92d7-a89842ecc8cb","pid":23440,"uri":"/crucible/0/regions/abf90425-0c19-4e74-8be9-ad5537ec40ce","method":"GET","req_id":"45716f7b-67dc-4ab1-8d49-9d662be1d1c7","remote_addr":"[fd00:1122:3344:101::b]:35237","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":48,"response_code":"200"}