[ Oct 18 19:05:22 Enabled. ] [ Oct 18 19:05:22 Rereading configuration. ] [ Oct 18 19:05:23 Rereading configuration. ] [ Oct 18 19:05:24 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=oxControlService10 ++ 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 + [[ oxControlService10 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService10 ipadm: Could not delete oxControlService10: Interface does not exist + true + ipadm create-if -t oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService10 + ipadm show-addr oxControlService10/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService10/ll + ipadm show-addr oxControlService10/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService10/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-10-18T19:05:25.461853587Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.462774836Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.46278364Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.618761826Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.270124989Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:49539"} {"msg":"region 9b7bdffd-1876-49ca-a975-5660eae7aa76 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.314535086Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.320292481Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.320316792Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"uri":"/crucible/0/regions","method":"POST","req_id":"16e5b361-b74f-4eda-9215-46660e351b34","remote_addr":"[fd00:1122:3344:101::c]:49539","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":11885,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.331687759Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.33171067Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"9b7bdffd-1876-49ca-a975-5660eae7aa76\"), 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/9b7bdffd-1876-49ca-a975-5660eae7aa76\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.370976165Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"region":"9b7bdffd-1876-49ca-a975-5660eae7aa76","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.536462402Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"region":"9b7bdffd-1876-49ca-a975-5660eae7aa76","component":"worker"} {"msg":"region 9b7bdffd-1876-49ca-a975-5660eae7aa76 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.536510721Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.536604848Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-9b7bdffd-1876-49ca-a975-5660eae7aa76","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.53715093Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-9b7bdffd-1876-49ca-a975-5660eae7aa76","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.543237226Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.55348702Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-9b7bdffd-1876-49ca-a975-5660eae7aa76","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.556740967Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.557328453Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.557404405Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.557451345Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.557490806Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.56135572Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.571938956Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.637327775Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"uri":"/crucible/0/regions","method":"POST","req_id":"e8630cb7-5b0e-46a5-8620-53b0684e97ec","remote_addr":"[fd00:1122:3344:101::c]:49539","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":84,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.308428149Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:43116"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.308644997Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"uri":"/crucible/0/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76","method":"GET","req_id":"a4d0b578-2829-4f6b-b024-fc11fce7f120","remote_addr":"[fd00:1122:3344:101::c]:43116","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"path is \"/data/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.308878141Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.32178463Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"datafile"} {"msg":"region 9b7bdffd-1876-49ca-a975-5660eae7aa76 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.332331786Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.332474628Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.332532319Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"uri":"/crucible/0/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76","method":"DELETE","req_id":"62e5a37d-f130-4460-9a5b-aad2906981bd","remote_addr":"[fd00:1122:3344:101::c]:43116","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":23677,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.332648738Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"uri":"/crucible/0/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76","method":"GET","req_id":"8949f101-3669-4339-8ec7-af226ff4f3aa","remote_addr":"[fd00:1122:3344:101::c]:43116","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":25,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-9b7bdffd-1876-49ca-a975-5660eae7aa76 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.333743596Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.337496407Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.349803559Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"region":"9b7bdffd-1876-49ca-a975-5660eae7aa76","component":"worker"} {"msg":"region 9b7bdffd-1876-49ca-a975-5660eae7aa76 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.406616028Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.480456944Z","hostname":"oxz_crucible_f3e7b26a-ca3f-42d6-8322-7922a1c952cd","pid":20421,"uri":"/crucible/0/regions/9b7bdffd-1876-49ca-a975-5660eae7aa76","method":"GET","req_id":"dad830aa-ac08-4d96-957b-b45a20d49207","remote_addr":"[fd00:1122:3344:101::c]:43116","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":76,"response_code":"200"}