[ Nov 14 22:15:16 Enabled. ] [ Nov 14 22:15:16 Rereading configuration. ] [ Nov 14 22:15:18 Rereading configuration. ] [ Nov 14 22:15:19 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=oxControlService22 ++ 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_24b4dc87-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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService22/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_24b4dc87-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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.655940736Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.672146865Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.672158666Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:15:20.874299768Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:45.942205182Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:56996"} {"msg":"region f92bc965-8900-43d1-aa3b-c04f7716094b state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.00476269Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.00634861Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"uri":"/crucible/0/regions","method":"POST","req_id":"cd9a6c39-8af6-44fc-9018-a7720cc2f679","remote_addr":"[fd00:1122:3344:101::b]:56996","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":2164,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.0063835Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f92bc965-8900-43d1-aa3b-c04f7716094b","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.017098139Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f92bc965-8900-43d1-aa3b-c04f7716094b","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.017128289Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f92bc965-8900-43d1-aa3b-c04f7716094b\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/f92bc965-8900-43d1-aa3b-c04f7716094b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.068041132Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"region":"f92bc965-8900-43d1-aa3b-c04f7716094b","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.25319327Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"region":"f92bc965-8900-43d1-aa3b-c04f7716094b","component":"worker"} {"msg":"region f92bc965-8900-43d1-aa3b-c04f7716094b state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.253239101Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.253334062Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f92bc965-8900-43d1-aa3b-c04f7716094b","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.253814442Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f92bc965-8900-43d1-aa3b-c04f7716094b","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.257724054Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.272881564Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f92bc965-8900-43d1-aa3b-c04f7716094b","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.276519282Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f92bc965-8900-43d1-aa3b-c04f7716094b","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.277214015Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.277285476Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.277331447Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.277372307Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.282871119Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.292937166Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:16:46.296192856Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"uri":"/crucible/0/regions","method":"POST","req_id":"13dc2681-8bd5-4130-bc52-929c3b11c4f5","remote_addr":"[fd00:1122:3344:101::b]:56996","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":67,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.069872875Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:47864"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.070070919Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"uri":"/crucible/0/regions/f92bc965-8900-43d1-aa3b-c04f7716094b","method":"GET","req_id":"2ec98774-bcb5-4b5c-9bb2-87ba2015e9be","remote_addr":"[fd00:1122:3344:101::b]:47864","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":157,"response_code":"200"} {"msg":"path is \"/data/regions/f92bc965-8900-43d1-aa3b-c04f7716094b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.070228562Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f92bc965-8900-43d1-aa3b-c04f7716094b","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.085505614Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"datafile"} {"msg":"region f92bc965-8900-43d1-aa3b-c04f7716094b state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.09552191Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.095805875Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.095856516Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"uri":"/crucible/0/regions/f92bc965-8900-43d1-aa3b-c04f7716094b","method":"DELETE","req_id":"91c34763-83ae-4300-8a5d-6b32e1f29e8a","remote_addr":"[fd00:1122:3344:101::b]:47864","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":25643,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.095981488Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"uri":"/crucible/0/regions/f92bc965-8900-43d1-aa3b-c04f7716094b","method":"GET","req_id":"687a63cc-94c9-44a1-8727-093c5af2e4b7","remote_addr":"[fd00:1122:3344:101::b]:47864","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":29,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f92bc965-8900-43d1-aa3b-c04f7716094b (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.097194711Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.106450922Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/f92bc965-8900-43d1-aa3b-c04f7716094b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.119539515Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"region":"f92bc965-8900-43d1-aa3b-c04f7716094b","component":"worker"} {"msg":"region f92bc965-8900-43d1-aa3b-c04f7716094b state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.174818688Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T22:19:41.197232883Z","hostname":"oxz_crucible_fabbd57f-119c-4016-acbf-80de7b14c49d","pid":25312,"uri":"/crucible/0/regions/f92bc965-8900-43d1-aa3b-c04f7716094b","method":"GET","req_id":"cc4df1f8-9bed-40c6-8377-28251f614c5b","remote_addr":"[fd00:1122:3344:101::b]:47864","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":75,"response_code":"200"}