[ Dec 19 23:01:59 Enabled. ] [ Dec 19 23:01:59 Rereading configuration. ] [ Dec 19 23:02:02 Rereading configuration. ] [ Dec 19 23:02:08 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=oxControlService16 ++ 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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService16/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-19T23:02:10.612930764Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:10.616661776Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:10.616677006Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:02:10.890972631Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:18.838827411Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:45974"} {"msg":"region 2a04a947-28df-4ca4-b51f-ee3e7aeae7f4 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:18.876192047Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:18.877976062Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:18.878008933Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"uri":"/crucible/0/regions","method":"POST","req_id":"65e89236-a0b3-4d6d-bcc8-a3b998868b51","remote_addr":"[fd00:1122:3344:101::a]:45974","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":16143,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:18.889273958Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:18.889316089Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2a04a947-28df-4ca4-b51f-ee3e7aeae7f4\"), 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/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:18.940917913Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"region":"2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.11198703Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"region":"2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","component":"worker"} {"msg":"region 2a04a947-28df-4ca4-b51f-ee3e7aeae7f4 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.11204476Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.112120261Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.116951168Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.123868454Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.14306459Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.145914719Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.14668514Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.146747431Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.146789641Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.146827462Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.150762896Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.164855391Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:19.205374582Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"uri":"/crucible/0/regions","method":"POST","req_id":"063f06cc-3498-4c02-a1b2-b52eb863fc16","remote_addr":"[fd00:1122:3344:101::a]:45974","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.69364853Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:53423"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.695700659Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"uri":"/crucible/0/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","method":"GET","req_id":"83f4d23e-3f80-4b4d-8e7e-91e391c2e4a3","remote_addr":"[fd00:1122:3344:101::a]:53423","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":2023,"response_code":"200"} {"msg":"path is \"/data/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.695857491Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.706409897Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"datafile"} {"msg":"region 2a04a947-28df-4ca4-b51f-ee3e7aeae7f4 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.715192608Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.71534329Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"disabling downstairs instance: downstairs-2a04a947-28df-4ca4-b51f-ee3e7aeae7f4 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.716458036Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.717242247Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"uri":"/crucible/0/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","method":"DELETE","req_id":"a704ae6b-924f-4d55-88a5-19d613ae7998","remote_addr":"[fd00:1122:3344:101::a]:53423","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":21413,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.717400569Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"uri":"/crucible/0/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","method":"GET","req_id":"c36b7495-9c88-4bb5-a777-00018bfc7472","remote_addr":"[fd00:1122:3344:101::a]:53423","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":33,"response_code":"200"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.720602673Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.730642772Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"region":"2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","component":"worker"} {"msg":"region 2a04a947-28df-4ca4-b51f-ee3e7aeae7f4 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.775635185Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-19T23:09:50.861813797Z","hostname":"oxz_crucible_d98fe4cb-8603-4152-90ae-dfd37d4299f6","pid":24513,"uri":"/crucible/0/regions/2a04a947-28df-4ca4-b51f-ee3e7aeae7f4","method":"GET","req_id":"51d276eb-3d70-48a0-81f3-e4e59c351f32","remote_addr":"[fd00:1122:3344:101::a]:53423","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":56,"response_code":"200"}