[ Oct 4 20:50:38 Enabled. ] [ Oct 4 20:50:38 Rereading configuration. ] [ Oct 4 20:50:39 Rereading configuration. ] [ Oct 4 20:50: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=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_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 + [[ 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_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-10-04T20:50:41.380245868Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:41.384952111Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:41.384963281Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:50:41.510107276Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.480054243Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:33566"} {"msg":"region 75a63791-c502-4f21-b25c-f591e4bf8b0b state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.518098926Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.518662527Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"uri":"/crucible/0/regions","method":"POST","req_id":"04a54627-95a9-408c-908a-4b30e695385a","remote_addr":"[fd00:1122:3344:101::b]:33566","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":5019,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.519942562Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.528894029Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.52891999Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"75a63791-c502-4f21-b25c-f591e4bf8b0b\"), 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/75a63791-c502-4f21-b25c-f591e4bf8b0b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.63260261Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"region":"75a63791-c502-4f21-b25c-f591e4bf8b0b","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.853790415Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"uri":"/crucible/0/regions","method":"POST","req_id":"79823ab3-c783-43e4-b4bb-fd556d9debb8","remote_addr":"[fd00:1122:3344:101::b]:33566","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.882380201Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"region":"75a63791-c502-4f21-b25c-f591e4bf8b0b","component":"worker"} {"msg":"region 75a63791-c502-4f21-b25c-f591e4bf8b0b state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.882402921Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.882522464Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-75a63791-c502-4f21-b25c-f591e4bf8b0b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.892362348Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-75a63791-c502-4f21-b25c-f591e4bf8b0b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.906706542Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.939564332Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-75a63791-c502-4f21-b25c-f591e4bf8b0b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.951938486Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.953324473Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.953423586Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.953468516Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.953507577Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.966989094Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:52.993521119Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:51:53.497998446Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"uri":"/crucible/0/regions","method":"POST","req_id":"bcf67408-e6a6-46a2-9ecd-1e4051d19582","remote_addr":"[fd00:1122:3344:101::b]:33566","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":131,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.117406363Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:61490"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.183172444Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"uri":"/crucible/0/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b","method":"GET","req_id":"94a2984a-488d-4a08-9bf2-c96629444155","remote_addr":"[fd00:1122:3344:101::b]:61490","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":2458,"response_code":"200"} {"msg":"path is \"/data/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.183369788Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.195193712Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"datafile"} {"msg":"region 75a63791-c502-4f21-b25c-f591e4bf8b0b state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.204474256Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.204658639Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.20470528Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"uri":"/crucible/0/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b","method":"DELETE","req_id":"8bcbcbe7-6a9c-465b-a2b4-3a88ae0cca57","remote_addr":"[fd00:1122:3344:101::b]:61490","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21360,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.207524006Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"uri":"/crucible/0/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b","method":"GET","req_id":"c37f7d9d-db43-44ab-a140-77c8b1b25938","remote_addr":"[fd00:1122:3344:101::b]:61490","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":456,"response_code":"200"} {"msg":"remove downstairs instance: downstairs-75a63791-c502-4f21-b25c-f591e4bf8b0b","v":0,"name":"crucible-agent","level":50,"time":"2023-10-04T20:55:15.215451593Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"instance states: (Some(Online), None)","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.218112255Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.228196405Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.240873916Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"region":"75a63791-c502-4f21-b25c-f591e4bf8b0b","component":"worker"} {"msg":"region 75a63791-c502-4f21-b25c-f591e4bf8b0b state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.30885858Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-04T20:55:15.348909992Z","hostname":"oxz_crucible_0a7266c5-6f2c-4987-a84e-401bf4366e32","pid":20375,"uri":"/crucible/0/regions/75a63791-c502-4f21-b25c-f591e4bf8b0b","method":"GET","req_id":"d6b0cf92-104f-4d8a-8b1b-5e83bb8cf090","remote_addr":"[fd00:1122:3344:101::b]:61490","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":76,"response_code":"200"}