[ Dec 1 20:22:02 Enabled. ] [ Dec 1 20:22:02 Rereading configuration. ] [ Dec 1 20:22:03 Rereading configuration. ] [ Dec 1 20:22:06 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=oxControlService20 ++ 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_f4b4dc87-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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService20/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_f4b4dc87-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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.123965992Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.13245938Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.13247674Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:22:07.34884153Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.408643044Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47334"} {"msg":"region 8621dec3-6040-44ab-abbf-30dea2bce91f state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.42560832Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.426387044Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"uri":"/crucible/0/regions","method":"POST","req_id":"75250117-573a-42f7-a524-112fd36e8484","remote_addr":"[fd00:1122:3344:101::b]:47334","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":6798,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.426420145Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8621dec3-6040-44ab-abbf-30dea2bce91f","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.43477917Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8621dec3-6040-44ab-abbf-30dea2bce91f","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.434806911Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"8621dec3-6040-44ab-abbf-30dea2bce91f\"), 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/8621dec3-6040-44ab-abbf-30dea2bce91f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.480327247Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"region":"8621dec3-6040-44ab-abbf-30dea2bce91f","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.653869982Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"uri":"/crucible/0/regions","method":"POST","req_id":"34a36224-ac6a-43b8-8468-ff965c8ea421","remote_addr":"[fd00:1122:3344:101::b]:47334","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.65702916Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"region":"8621dec3-6040-44ab-abbf-30dea2bce91f","component":"worker"} {"msg":"region 8621dec3-6040-44ab-abbf-30dea2bce91f state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.657058171Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.657222214Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-8621dec3-6040-44ab-abbf-30dea2bce91f","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.657704623Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-8621dec3-6040-44ab-abbf-30dea2bce91f","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.661037405Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.671809735Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-8621dec3-6040-44ab-abbf-30dea2bce91f","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.67586038Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/8621dec3-6040-44ab-abbf-30dea2bce91f","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.676602364Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.676689916Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.676739357Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.676780468Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.681155919Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.684957929Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:03.991020048Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"uri":"/crucible/0/regions","method":"POST","req_id":"ef0145c4-1e43-467d-96b2-d740030925f7","remote_addr":"[fd00:1122:3344:101::b]:47334","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.575204355Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:55592"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.575440609Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"uri":"/crucible/0/regions/8621dec3-6040-44ab-abbf-30dea2bce91f","method":"GET","req_id":"8a37b77d-76b9-498a-be0d-345862287b2a","remote_addr":"[fd00:1122:3344:101::b]:55592","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":194,"response_code":"200"} {"msg":"path is \"/data/regions/8621dec3-6040-44ab-abbf-30dea2bce91f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.575642833Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8621dec3-6040-44ab-abbf-30dea2bce91f","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.584320174Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"datafile"} {"msg":"region 8621dec3-6040-44ab-abbf-30dea2bce91f state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.593320942Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.593505165Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.593545666Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"uri":"/crucible/0/regions/8621dec3-6040-44ab-abbf-30dea2bce91f","method":"DELETE","req_id":"f85ea1f5-4310-493c-a3e3-26caaa3fd767","remote_addr":"[fd00:1122:3344:101::b]:55592","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":17985,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.593695938Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"uri":"/crucible/0/regions/8621dec3-6040-44ab-abbf-30dea2bce91f","method":"GET","req_id":"9dd8792c-e9db-4cb1-87cc-dd240c2d133a","remote_addr":"[fd00:1122:3344:101::b]:55592","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-8621dec3-6040-44ab-abbf-30dea2bce91f (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.594819949Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.599289112Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8621dec3-6040-44ab-abbf-30dea2bce91f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.609463401Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"region":"8621dec3-6040-44ab-abbf-30dea2bce91f","component":"worker"} {"msg":"region 8621dec3-6040-44ab-abbf-30dea2bce91f state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.656298451Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:23:04.710342536Z","hostname":"oxz_crucible_a05b6447-1de1-4773-a08b-af26700afacc","pid":21184,"uri":"/crucible/0/regions/8621dec3-6040-44ab-abbf-30dea2bce91f","method":"GET","req_id":"033589a9-d45a-4031-8af4-b439cc6f6af8","remote_addr":"[fd00:1122:3344:101::b]:55592","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":705,"response_code":"200"}