[ Oct 24 01:16:34 Enabled. ] [ Oct 24 01:16:34 Rereading configuration. ] [ Oct 24 01:16:38 Rereading configuration. ] [ Oct 24 01:16:40 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=oxControlService18 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService18/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.676567465Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.677635666Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.677645376Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:16:41.914263218Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.271590609Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:36987"} {"msg":"region ec99a654-773b-49f1-883b-8f8ad2346542 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.409772516Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.411424518Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"uri":"/crucible/0/regions","method":"POST","req_id":"786f6c83-a12b-4f93-94fe-1e365f736697","remote_addr":"[fd00:1122:3344:101::c]:36987","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":2340,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.411469929Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ec99a654-773b-49f1-883b-8f8ad2346542","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.421827273Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ec99a654-773b-49f1-883b-8f8ad2346542","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.421864003Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"ec99a654-773b-49f1-883b-8f8ad2346542\"), 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/ec99a654-773b-49f1-883b-8f8ad2346542\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.480624989Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"region":"ec99a654-773b-49f1-883b-8f8ad2346542","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.661624546Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"region":"ec99a654-773b-49f1-883b-8f8ad2346542","component":"worker"} {"msg":"region ec99a654-773b-49f1-883b-8f8ad2346542 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.661683667Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.661793079Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-ec99a654-773b-49f1-883b-8f8ad2346542","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.662378941Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-ec99a654-773b-49f1-883b-8f8ad2346542","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.66539532Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.67299657Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-ec99a654-773b-49f1-883b-8f8ad2346542","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.676770784Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/ec99a654-773b-49f1-883b-8f8ad2346542","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.677493068Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.67756744Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.677613001Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.677653261Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.683307153Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.692693867Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:16.764920527Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"uri":"/crucible/0/regions","method":"POST","req_id":"e92b63a6-7c72-4ecc-8225-a8d63f61e7b3","remote_addr":"[fd00:1122:3344:101::c]:36987","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.44261216Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:50123"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.442782273Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"uri":"/crucible/0/regions/ec99a654-773b-49f1-883b-8f8ad2346542","method":"GET","req_id":"87b1575b-2bd3-459f-85f2-bdc19d57cfe2","remote_addr":"[fd00:1122:3344:101::c]:50123","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":105,"response_code":"200"} {"msg":"path is \"/data/regions/ec99a654-773b-49f1-883b-8f8ad2346542\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.442975237Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ec99a654-773b-49f1-883b-8f8ad2346542","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.454370131Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"datafile"} {"msg":"region ec99a654-773b-49f1-883b-8f8ad2346542 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.464236805Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.464394518Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.464447159Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"uri":"/crucible/0/regions/ec99a654-773b-49f1-883b-8f8ad2346542","method":"DELETE","req_id":"16a26692-9842-454a-aeea-33deeab823e8","remote_addr":"[fd00:1122:3344:101::c]:50123","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":21493,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.464624393Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"uri":"/crucible/0/regions/ec99a654-773b-49f1-883b-8f8ad2346542","method":"GET","req_id":"39ecbb67-df46-4f9a-ae26-279afa31a2d9","remote_addr":"[fd00:1122:3344:101::c]:50123","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":31,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-ec99a654-773b-49f1-883b-8f8ad2346542 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.465458579Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.471425937Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/ec99a654-773b-49f1-883b-8f8ad2346542\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.482462013Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"region":"ec99a654-773b-49f1-883b-8f8ad2346542","component":"worker"} {"msg":"region ec99a654-773b-49f1-883b-8f8ad2346542 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.5382587Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T01:18:17.573215687Z","hostname":"oxz_crucible_66b00766-f623-4a26-8bc4-f6f6603471e5","pid":24945,"uri":"/crucible/0/regions/ec99a654-773b-49f1-883b-8f8ad2346542","method":"GET","req_id":"dc728be7-df05-4227-8274-0983760ae40d","remote_addr":"[fd00:1122:3344:101::c]:50123","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":65,"response_code":"200"}