[ Feb 9 21:15:02 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=oxControlService20 ++ 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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::12 ++ 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 + [[ oxControlService20 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService20 ipadm: Could not delete oxControlService20: Interface does not exist + true + ipadm create-if -t oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService20 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService20 + ipadm show-addr oxControlService20/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService20/ll + ipadm show-addr oxControlService20/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService20/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_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:03.46366846Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:03.467550052Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:03.467560752Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:15:03.872603447Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.053412775Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:33991"} {"msg":"region 5ed261c3-c284-4e3b-bb3d-831b7b99303d state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.107424766Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.110855379Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"uri":"/crucible/0/regions","method":"POST","req_id":"ba02690a-79ab-4c86-b784-4efeffeec6f7","remote_addr":"[fd00:1122:3344:101::a]:33991","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":15627,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.117067153Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.125012649Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.12504458Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"5ed261c3-c284-4e3b-bb3d-831b7b99303d\"), 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/5ed261c3-c284-4e3b-bb3d-831b7b99303d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.180378035Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"region":"5ed261c3-c284-4e3b-bb3d-831b7b99303d","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.27052226Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"uri":"/crucible/0/regions","method":"POST","req_id":"d479a20b-1c81-4cc8-8c2c-213587464be4","remote_addr":"[fd00:1122:3344:101::a]:33991","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.550306165Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"region":"5ed261c3-c284-4e3b-bb3d-831b7b99303d","component":"worker"} {"msg":"region 5ed261c3-c284-4e3b-bb3d-831b7b99303d state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.550367996Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.550498159Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-5ed261c3-c284-4e3b-bb3d-831b7b99303d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.551086419Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-5ed261c3-c284-4e3b-bb3d-831b7b99303d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.557399505Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.569754742Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-5ed261c3-c284-4e3b-bb3d-831b7b99303d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.573061473Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.573795366Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.576038257Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.576087778Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.576136769Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.588357044Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:13.591695435Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:14.009727499Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"uri":"/crucible/0/regions","method":"POST","req_id":"9e7fef51-7783-4df4-bc0a-7643f66a7181","remote_addr":"[fd00:1122:3344:101::a]:33991","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.294321383Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:51662"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.294433925Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"uri":"/crucible/0/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d","method":"GET","req_id":"c7fcf852-0dac-4121-ac6d-5ee6fef5c90a","remote_addr":"[fd00:1122:3344:101::a]:51662","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":60,"response_code":"200"} {"msg":"path is \"/data/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.294625859Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.321412851Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"datafile"} {"msg":"region 5ed261c3-c284-4e3b-bb3d-831b7b99303d state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.328923468Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.329124902Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.329175993Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"uri":"/crucible/0/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d","method":"DELETE","req_id":"4c4badf4-7c24-4f91-8942-f3f1052aade5","remote_addr":"[fd00:1122:3344:101::a]:51662","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":34574,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.329342966Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"uri":"/crucible/0/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d","method":"GET","req_id":"5622f62f-285f-4a50-8cc2-57d54701fa21","remote_addr":"[fd00:1122:3344:101::a]:51662","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":26,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-5ed261c3-c284-4e3b-bb3d-831b7b99303d (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.330322454Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.34317382Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.351296419Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"region":"5ed261c3-c284-4e3b-bb3d-831b7b99303d","component":"worker"} {"msg":"region 5ed261c3-c284-4e3b-bb3d-831b7b99303d state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.430960542Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-09T21:21:54.433634311Z","hostname":"oxz_crucible_6c7363af-c204-4d04-b820-2c48b938b961","pid":7126,"uri":"/crucible/0/regions/5ed261c3-c284-4e3b-bb3d-831b7b99303d","method":"GET","req_id":"17e1ee7c-a163-4626-8382-4c42994c3c49","remote_addr":"[fd00:1122:3344:101::a]:51662","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":57,"response_code":"200"}