[ Oct 4 22:29:14 Enabled. ] [ Oct 4 22:29:14 Rereading configuration. ] [ Oct 4 22:29:16 Rereading configuration. ] [ Oct 4 22:29:16 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=oxControlService14 ++ 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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/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 + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService14/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_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:17.527609831Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:17.531320869Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:17.531332989Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:17.642909642Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.656120356Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:35389"} {"msg":"region 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.69264027Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.703419167Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.706623896Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions","method":"POST","req_id":"d0dc7bbe-303c-45ec-86a2-d54642f605be","remote_addr":"[fd00:1122:3344:101::a]:35389","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":17060,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.714027851Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.714046841Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"2891aa5e-e7f3-4362-a436-b2ffd9cabb7f\"), 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/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.958605832Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"region":"2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:56.982928147Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions","method":"POST","req_id":"5d22c87e-bd98-4481-b869-d5bd5eab401f","remote_addr":"[fd00:1122:3344:101::a]:35389","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.263361702Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions","method":"POST","req_id":"50dcce75-908e-4beb-a4bb-10a83a468bf7","remote_addr":"[fd00:1122:3344:101::a]:35389","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":67,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.636556051Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"region":"2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","component":"worker"} {"msg":"region 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.636592701Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.636832875Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.647244606Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.687406867Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.772724486Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.801418609Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.8021339Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.802218392Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.802269082Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.802308713Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.827342Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:57.892408116Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:58.180690062Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions","method":"POST","req_id":"3f21cbaa-cde8-43a8-8331-27574b11ead7","remote_addr":"[fd00:1122:3344:101::a]:35389","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.457377816Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:62951"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.488528487Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","method":"GET","req_id":"902b306d-7fb6-46ba-8f69-3d04f787aeaa","remote_addr":"[fd00:1122:3344:101::a]:62951","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":158,"response_code":"200"} {"msg":"path is \"/data/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.48872988Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"datafile"} {"msg":"dataset is oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.501445127Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"datafile"} {"msg":"region 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.511480452Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.511625804Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.514425927Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","method":"DELETE","req_id":"d936fd6d-d0ff-4abe-bc9e-4939c1bbcdaf","remote_addr":"[fd00:1122:3344:101::a]:62951","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":25725,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.515921961Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","method":"GET","req_id":"d9e254f5-d3ec-44d9-a711-3eb0c3b9bb7c","remote_addr":"[fd00:1122:3344:101::a]:62951","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":55,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-2891aa5e-e7f3-4362-a436-b2ffd9cabb7f (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.522943559Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.592979602Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_e4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.603762739Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"region":"2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.606394119Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","method":"GET","req_id":"b56e7622-ddcb-445f-9460-abc74a86b81f","remote_addr":"[fd00:1122:3344:101::a]:62951","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":471,"response_code":"200"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.765273465Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","method":"GET","req_id":"aae63100-1ff7-4685-8b4f-295332994deb","remote_addr":"[fd00:1122:3344:101::a]:62951","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":50,"response_code":"200"} {"msg":"region 2891aa5e-e7f3-4362-a436-b2ffd9cabb7f state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.779264141Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T22:29:59.906178313Z","hostname":"oxz_crucible_1a298b78-28d3-46b9-b5b1-7b58258377e7","pid":21820,"uri":"/crucible/0/regions/2891aa5e-e7f3-4362-a436-b2ffd9cabb7f","method":"GET","req_id":"60d51f3f-e4a7-4e88-bee0-cf578ea430c0","remote_addr":"[fd00:1122:3344:101::a]:62951","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":51,"response_code":"200"}