[ Dec 6 01:45:30 Enabled. ] [ Dec 6 01:45:30 Rereading configuration. ] [ Dec 6 01:45:35 Rereading configuration. ] [ Dec 6 01:45:39 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-06T01:45:39.904949607Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:39.908426382Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:39.908439982Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:45:40.090751229Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.006770453Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33179"} {"msg":"region 8b810b62-1288-4e0b-a806-e9465f28c000 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.040044441Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.04088453Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.04505493Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"uri":"/crucible/0/regions","method":"POST","req_id":"3f9d029e-11c1-4909-bef0-9d5c607e9227","remote_addr":"[fd00:1122:3344:101::a]:33179","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":15309,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8b810b62-1288-4e0b-a806-e9465f28c000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.051599891Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8b810b62-1288-4e0b-a806-e9465f28c000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.051612811Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"8b810b62-1288-4e0b-a806-e9465f28c000\"), 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/8b810b62-1288-4e0b-a806-e9465f28c000\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.109757047Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"region":"8b810b62-1288-4e0b-a806-e9465f28c000","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.270438097Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"region":"8b810b62-1288-4e0b-a806-e9465f28c000","component":"worker"} {"msg":"region 8b810b62-1288-4e0b-a806-e9465f28c000 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.270481328Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.27057804Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-8b810b62-1288-4e0b-a806-e9465f28c000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.27106764Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-8b810b62-1288-4e0b-a806-e9465f28c000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.275439055Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.29189573Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-8b810b62-1288-4e0b-a806-e9465f28c000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.294518197Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.296622792Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"uri":"/crucible/0/regions","method":"POST","req_id":"913ca5f7-b7a4-4014-90bb-251df0e7d5c1","remote_addr":"[fd00:1122:3344:101::a]:33179","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/8b810b62-1288-4e0b-a806-e9465f28c000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.30023134Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.302978299Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.303032231Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.303072441Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.30715209Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:37.313704261Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.156067191Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:60258"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.156332207Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"uri":"/crucible/0/regions/8b810b62-1288-4e0b-a806-e9465f28c000","method":"GET","req_id":"bc8a28cf-200b-4316-b7f8-67381d601e36","remote_addr":"[fd00:1122:3344:101::a]:60258","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":225,"response_code":"200"} {"msg":"path is \"/data/regions/8b810b62-1288-4e0b-a806-e9465f28c000\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.156577162Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8b810b62-1288-4e0b-a806-e9465f28c000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.16576545Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"datafile"} {"msg":"region 8b810b62-1288-4e0b-a806-e9465f28c000 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.174631552Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.174763775Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.174832476Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"uri":"/crucible/0/regions/8b810b62-1288-4e0b-a806-e9465f28c000","method":"DELETE","req_id":"7304c115-5497-41a9-9e6a-c03de0abb05f","remote_addr":"[fd00:1122:3344:101::a]:60258","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":18300,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.1754827Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"uri":"/crucible/0/regions/8b810b62-1288-4e0b-a806-e9465f28c000","method":"GET","req_id":"0cbaab33-6591-4925-9832-4ee683bafba0","remote_addr":"[fd00:1122:3344:101::a]:60258","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":508,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-8b810b62-1288-4e0b-a806-e9465f28c000 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.175844678Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.179533538Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/8b810b62-1288-4e0b-a806-e9465f28c000\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.188849979Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"region":"8b810b62-1288-4e0b-a806-e9465f28c000","component":"worker"} {"msg":"region 8b810b62-1288-4e0b-a806-e9465f28c000 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.237889998Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T01:46:38.260830683Z","hostname":"oxz_crucible_e3bd382d-4e02-4938-8649-468c2966ddfc","pid":26718,"uri":"/crucible/0/regions/8b810b62-1288-4e0b-a806-e9465f28c000","method":"GET","req_id":"efd56f25-54b3-4fb0-8a4f-b024df02b69e","remote_addr":"[fd00:1122:3344:101::a]:60258","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":71,"response_code":"200"}