[ Jan 19 06:57:13 Enabled. ] [ Jan 19 06:57:13 Rereading configuration. ] [ Jan 19 06:57:14 Rereading configuration. ] [ Jan 19 06:57:15 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=oxControlService12 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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 + [[ oxControlService12 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService12 ipadm: Could not delete oxControlService12: Interface does not exist + true + ipadm create-if -t oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService12 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService12 + ipadm show-addr oxControlService12/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService12/ll + ipadm show-addr oxControlService12/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService12/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:57:16.219478219Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:57:16.286437578Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:57:16.286450558Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:57:16.474741291Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.172684121Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:46545"} {"msg":"region 0d9811b6-ecf7-4951-9299-1c8e199cddda state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.22370983Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.226925446Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.230250193Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"uri":"/crucible/0/regions","method":"POST","req_id":"55052ba7-82a1-4aa0-8b9d-e83a8e6d3f21","remote_addr":"[fd00:1122:3344:101::a]:46545","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":19004,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.235764326Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.235777306Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0d9811b6-ecf7-4951-9299-1c8e199cddda\"), 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/0d9811b6-ecf7-4951-9299-1c8e199cddda\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.283878631Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"region":"0d9811b6-ecf7-4951-9299-1c8e199cddda","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.368719542Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"uri":"/crucible/0/regions","method":"POST","req_id":"48cfc150-7d09-4f2a-a249-f5f0a9b65d0b","remote_addr":"[fd00:1122:3344:101::a]:46545","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":959,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.405815382Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"region":"0d9811b6-ecf7-4951-9299-1c8e199cddda","component":"worker"} {"msg":"region 0d9811b6-ecf7-4951-9299-1c8e199cddda state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.405843043Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.405957274Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-0d9811b6-ecf7-4951-9299-1c8e199cddda","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.408364391Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0d9811b6-ecf7-4951-9299-1c8e199cddda","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.411605008Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.420918253Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0d9811b6-ecf7-4951-9299-1c8e199cddda","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.423685275Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.424410833Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.426451166Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.426491907Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.426529497Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.434571138Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.43913544Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:15.950996528Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"uri":"/crucible/0/regions","method":"POST","req_id":"203bce35-7580-4639-ba40-c7632b9fc660","remote_addr":"[fd00:1122:3344:101::a]:46545","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":57,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.328195851Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:57618"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.328288372Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"uri":"/crucible/0/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda","method":"GET","req_id":"e486885f-614c-40f4-8ef9-8a729dfe94a6","remote_addr":"[fd00:1122:3344:101::a]:57618","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":67,"response_code":"200"} {"msg":"path is \"/data/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.328456134Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.337216763Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"datafile"} {"msg":"region 0d9811b6-ecf7-4951-9299-1c8e199cddda state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.345666229Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.345846221Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.345884081Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"uri":"/crucible/0/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda","method":"DELETE","req_id":"314c54d0-f9b7-4a23-8375-de445e2488ce","remote_addr":"[fd00:1122:3344:101::a]:57618","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":17451,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.346029953Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"uri":"/crucible/0/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda","method":"GET","req_id":"8f9ced36-0656-4a61-97ac-d34cd53ad248","remote_addr":"[fd00:1122:3344:101::a]:57618","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0d9811b6-ecf7-4951-9299-1c8e199cddda (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.347003394Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.351209202Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda\"","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.360713649Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"region":"0d9811b6-ecf7-4951-9299-1c8e199cddda","component":"worker"} {"msg":"region 0d9811b6-ecf7-4951-9299-1c8e199cddda state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.414869923Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-01-19T06:58:16.451341286Z","hostname":"oxz_crucible_99cd078d-484e-42d9-847b-9d5d873c3ce5","pid":20239,"uri":"/crucible/0/regions/0d9811b6-ecf7-4951-9299-1c8e199cddda","method":"GET","req_id":"1a5fa3ab-4b07-490d-92bc-4200883831c0","remote_addr":"[fd00:1122:3344:101::a]:57618","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":62,"response_code":"200"}