[ Feb 15 22:28:34 Enabled. ] [ Feb 15 22:28:34 Rereading configuration. ] [ Feb 15 22:28:37 Rereading configuration. ] [ Feb 15 22:28:40 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=oxControlService21 ++ 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::18 ++ 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 + [[ oxControlService21 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService21 ipadm: Could not delete oxControlService21: Interface does not exist + true + ipadm create-if -t oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService21 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService21 + ipadm show-addr oxControlService21/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService21/ll + ipadm show-addr oxControlService21/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService21/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::18]: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":"2024-02-15T22:28:41.20431162Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:41.20907346Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:41.209086231Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:28:41.370945602Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.338221777Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:52371"} {"msg":"region 6c353424-30fa-4d61-b335-740f1845eb41 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.369020148Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.37004562Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"uri":"/crucible/0/regions","method":"POST","req_id":"664876e8-9b6a-4ca2-a9de-b824ae5ae848","remote_addr":"[fd00:1122:3344:101::c]:52371","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":2288,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.370102231Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/6c353424-30fa-4d61-b335-740f1845eb41","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.379757515Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/6c353424-30fa-4d61-b335-740f1845eb41","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.379786426Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6c353424-30fa-4d61-b335-740f1845eb41\"), 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/6c353424-30fa-4d61-b335-740f1845eb41\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.424744226Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"region":"6c353424-30fa-4d61-b335-740f1845eb41","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.554837347Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"region":"6c353424-30fa-4d61-b335-740f1845eb41","component":"worker"} {"msg":"region 6c353424-30fa-4d61-b335-740f1845eb41 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.554888438Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.554962499Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6c353424-30fa-4d61-b335-740f1845eb41","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.555359298Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6c353424-30fa-4d61-b335-740f1845eb41","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.559922664Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.568821242Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6c353424-30fa-4d61-b335-740f1845eb41","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.572162153Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6c353424-30fa-4d61-b335-740f1845eb41","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.572869398Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.57295332Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.572997791Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.573039152Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.577122148Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.581617283Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.719197841Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"uri":"/crucible/0/regions","method":"POST","req_id":"be33b7e0-ef02-4011-bd22-fdbb359e872f","remote_addr":"[fd00:1122:3344:101::c]:52371","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":66,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.966480308Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:58528"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.96656713Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"uri":"/crucible/0/regions/6c353424-30fa-4d61-b335-740f1845eb41","method":"GET","req_id":"49d80ebe-1786-4633-a58a-7cca3a167009","remote_addr":"[fd00:1122:3344:101::c]:58528","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":68,"response_code":"200"} {"msg":"path is \"/data/regions/6c353424-30fa-4d61-b335-740f1845eb41\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.966775675Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/6c353424-30fa-4d61-b335-740f1845eb41","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.975937438Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"datafile"} {"msg":"region 6c353424-30fa-4d61-b335-740f1845eb41 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.984839306Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.9849873Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.985053991Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"uri":"/crucible/0/regions/6c353424-30fa-4d61-b335-740f1845eb41","method":"DELETE","req_id":"e8714780-a9ac-463f-aec7-6465fe83596b","remote_addr":"[fd00:1122:3344:101::c]:58528","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":18296,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.985695424Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"uri":"/crucible/0/regions/6c353424-30fa-4d61-b335-740f1845eb41","method":"GET","req_id":"596f98d1-23a9-456c-8739-450be83f81ad","remote_addr":"[fd00:1122:3344:101::c]:58528","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":468,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-6c353424-30fa-4d61-b335-740f1845eb41 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.986089603Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.990104348Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/6c353424-30fa-4d61-b335-740f1845eb41\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:54.999426785Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"region":"6c353424-30fa-4d61-b335-740f1845eb41","component":"worker"} {"msg":"region 6c353424-30fa-4d61-b335-740f1845eb41 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.046582432Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-15T22:29:55.068079956Z","hostname":"oxz_crucible_7eafd85f-fbcd-44d6-8c5a-961b00ae72f4","pid":22064,"uri":"/crucible/0/regions/6c353424-30fa-4d61-b335-740f1845eb41","method":"GET","req_id":"ff2358f1-2c3f-4a61-8559-62a8c9c6cd95","remote_addr":"[fd00:1122:3344:101::c]:58528","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":45,"response_code":"200"}