[ Dec 11 18:48:06 Enabled. ] [ Dec 11 18:48:06 Rereading configuration. ] [ Dec 11 18:48:11 Rereading configuration. ] [ Dec 11 18:48:19 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_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 + [[ 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::15 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_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-11T18:48:20.438924319Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:20.444758573Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:20.444774884Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:20.873192027Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.4695725Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39755"} {"msg":"region 1b2d532a-2f59-4e40-aaff-8590daf4e2ca state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.542631508Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.545230858Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"uri":"/crucible/0/regions","method":"POST","req_id":"60cc3709-aaf9-4fec-b8e8-65575222a8da","remote_addr":"[fd00:1122:3344:101::a]:39755","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":12709,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.545284639Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.556523417Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.556546858Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"1b2d532a-2f59-4e40-aaff-8590daf4e2ca\"), 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/1b2d532a-2f59-4e40-aaff-8590daf4e2ca\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.619440023Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"region":"1b2d532a-2f59-4e40-aaff-8590daf4e2ca","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.823823779Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"uri":"/crucible/0/regions","method":"POST","req_id":"e4bc5d40-f15d-4650-80fb-0923d053ce82","remote_addr":"[fd00:1122:3344:101::a]:39755","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.832881097Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"region":"1b2d532a-2f59-4e40-aaff-8590daf4e2ca","component":"worker"} {"msg":"region 1b2d532a-2f59-4e40-aaff-8590daf4e2ca state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.832910738Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.833035021Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-1b2d532a-2f59-4e40-aaff-8590daf4e2ca","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.835872966Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-1b2d532a-2f59-4e40-aaff-8590daf4e2ca","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.84260787Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.858819483Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-1b2d532a-2f59-4e40-aaff-8590daf4e2ca","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.861628588Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.862211381Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.862270962Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.862311203Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.862350514Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.866618222Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:30.879040398Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.353138881Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"uri":"/crucible/0/regions","method":"POST","req_id":"75e46914-918d-4766-a8fd-31763d3bbac6","remote_addr":"[fd00:1122:3344:101::a]:39755","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":67,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.883462815Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:58161"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.883789813Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"uri":"/crucible/0/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca","method":"GET","req_id":"1842275e-33fe-4b72-9c14-c15cb264d9b9","remote_addr":"[fd00:1122:3344:101::a]:58161","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":302,"response_code":"200"} {"msg":"path is \"/data/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.884432998Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.893293721Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"datafile"} {"msg":"region 1b2d532a-2f59-4e40-aaff-8590daf4e2ca state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.902585015Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.9028053Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.902912372Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"uri":"/crucible/0/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca","method":"DELETE","req_id":"0d7c2e5f-62de-4f48-88ef-af1dd962be83","remote_addr":"[fd00:1122:3344:101::a]:58161","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":18989,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.903135597Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"uri":"/crucible/0/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca","method":"GET","req_id":"de5ecded-07f4-49e7-b2ad-3593e9a7ace7","remote_addr":"[fd00:1122:3344:101::a]:58161","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":26,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-1b2d532a-2f59-4e40-aaff-8590daf4e2ca (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.904016628Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.907724883Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.917080348Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"region":"1b2d532a-2f59-4e40-aaff-8590daf4e2ca","component":"worker"} {"msg":"region 1b2d532a-2f59-4e40-aaff-8590daf4e2ca state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:31.965874329Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:32.00641921Z","hostname":"oxz_crucible_69f8c42b-5f56-4300-a8b4-e60ca8a1147f","pid":21708,"uri":"/crucible/0/regions/1b2d532a-2f59-4e40-aaff-8590daf4e2ca","method":"GET","req_id":"37743bf4-c5e8-47c0-a5f4-8baab7cf2264","remote_addr":"[fd00:1122:3344:101::a]:58161","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":58,"response_code":"200"}