[ Nov 2 20:24:52 Enabled. ] [ Nov 2 20:24:52 Rereading configuration. ] [ Nov 2 20:24:55 Rereading configuration. ] [ Nov 2 20:24:55 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::17 ++ 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::17 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::17]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.489349619Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.493615362Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.493625203Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:24:56.613077616Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.275733346Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:49484"} {"msg":"region cc3688b3-d187-47bc-9a26-951b1b41393c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.355112564Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.358546715Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"uri":"/crucible/0/regions","method":"POST","req_id":"5fa0ba76-2bb0-46b6-9833-496553cfe1a3","remote_addr":"[fd00:1122:3344:101::c]:49484","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":13593,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.358575176Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/cc3688b3-d187-47bc-9a26-951b1b41393c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.36829362Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/cc3688b3-d187-47bc-9a26-951b1b41393c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.36832015Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"cc3688b3-d187-47bc-9a26-951b1b41393c\"), 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/cc3688b3-d187-47bc-9a26-951b1b41393c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.447275922Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"region":"cc3688b3-d187-47bc-9a26-951b1b41393c","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.589201858Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"uri":"/crucible/0/regions","method":"POST","req_id":"9d3960b3-1068-4e01-a3fc-98fbfb01ae0f","remote_addr":"[fd00:1122:3344:101::c]:49484","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":95,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.663031114Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"region":"cc3688b3-d187-47bc-9a26-951b1b41393c","component":"worker"} {"msg":"region cc3688b3-d187-47bc-9a26-951b1b41393c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.663058014Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.663192416Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-cc3688b3-d187-47bc-9a26-951b1b41393c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.665586572Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-cc3688b3-d187-47bc-9a26-951b1b41393c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.672403753Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.698617222Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-cc3688b3-d187-47bc-9a26-951b1b41393c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.71395857Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/cc3688b3-d187-47bc-9a26-951b1b41393c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.714752342Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.714832953Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.714882574Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.714923544Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.731332158Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.763050529Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:25:52.879903873Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"uri":"/crucible/0/regions","method":"POST","req_id":"7f8e98c7-8b12-4ba6-98db-6d22e2d371bd","remote_addr":"[fd00:1122:3344:101::c]:49484","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":69,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.434403562Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:54607"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.497709302Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"uri":"/crucible/0/regions/cc3688b3-d187-47bc-9a26-951b1b41393c","method":"GET","req_id":"74818bf8-1c9e-43ca-ae64-fcb7dfb5a704","remote_addr":"[fd00:1122:3344:101::c]:54607","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":162,"response_code":"200"} {"msg":"path is \"/data/regions/cc3688b3-d187-47bc-9a26-951b1b41393c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.497922125Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/cc3688b3-d187-47bc-9a26-951b1b41393c","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.510896717Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"datafile"} {"msg":"region cc3688b3-d187-47bc-9a26-951b1b41393c state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.521063558Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.521298581Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.521356613Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"uri":"/crucible/0/regions/cc3688b3-d187-47bc-9a26-951b1b41393c","method":"DELETE","req_id":"4cacc181-5991-49ac-80ec-e6fdbf938a68","remote_addr":"[fd00:1122:3344:101::c]:54607","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":23453,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.521461544Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"uri":"/crucible/0/regions/cc3688b3-d187-47bc-9a26-951b1b41393c","method":"GET","req_id":"b8fc54f3-6da9-40a1-8fa1-29d8a6432b48","remote_addr":"[fd00:1122:3344:101::c]:54607","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-cc3688b3-d187-47bc-9a26-951b1b41393c (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.522606191Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.530885674Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/cc3688b3-d187-47bc-9a26-951b1b41393c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.542549187Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"region":"cc3688b3-d187-47bc-9a26-951b1b41393c","component":"worker"} {"msg":"region cc3688b3-d187-47bc-9a26-951b1b41393c state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.588437278Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-02T20:28:50.589674236Z","hostname":"oxz_crucible_24dd337d-3eaa-4a92-84d9-fd52ec451d3c","pid":20997,"uri":"/crucible/0/regions/cc3688b3-d187-47bc-9a26-951b1b41393c","method":"GET","req_id":"598ed9cd-87ec-43ae-847e-062808702f1d","remote_addr":"[fd00:1122:3344:101::c]:54607","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":46,"response_code":"200"}