[ Nov 30 06:21:08 Enabled. ] [ Nov 30 06:21:08 Rereading configuration. ] [ Nov 30 06:21:09 Rereading configuration. ] [ Nov 30 06:21:11 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=oxControlService18 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::15 ++ 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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService18/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:12.176278385Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:12.18046698Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:12.180476965Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:21:12.264940954Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.863085732Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:49703"} {"msg":"region 643c6372-797d-42e9-9197-61bfa06fc305 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.910506802Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.911184326Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"uri":"/crucible/0/regions","method":"POST","req_id":"86cd38f4-4355-4bb4-841e-bd234393dc56","remote_addr":"[fd00:1122:3344:101::b]:49703","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":12330,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.91181121Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/643c6372-797d-42e9-9197-61bfa06fc305","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.922825942Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/643c6372-797d-42e9-9197-61bfa06fc305","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.922854452Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"643c6372-797d-42e9-9197-61bfa06fc305\"), 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/643c6372-797d-42e9-9197-61bfa06fc305\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:03.985674833Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"region":"643c6372-797d-42e9-9197-61bfa06fc305","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.165816591Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"region":"643c6372-797d-42e9-9197-61bfa06fc305","component":"worker"} {"msg":"region 643c6372-797d-42e9-9197-61bfa06fc305 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.165861647Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.165938457Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-643c6372-797d-42e9-9197-61bfa06fc305","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.168455579Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-643c6372-797d-42e9-9197-61bfa06fc305","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.173038829Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.188968956Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-643c6372-797d-42e9-9197-61bfa06fc305","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.192571148Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/643c6372-797d-42e9-9197-61bfa06fc305","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.198022251Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.19814889Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.198195371Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.198236847Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.201619549Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.207827641Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.238810777Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"uri":"/crucible/0/regions","method":"POST","req_id":"faceb570-efc4-4dd7-97c5-0f6a5b8b16fa","remote_addr":"[fd00:1122:3344:101::b]:49703","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.721227259Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:50106"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.72198339Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"uri":"/crucible/0/regions/643c6372-797d-42e9-9197-61bfa06fc305","method":"GET","req_id":"4d2f50c9-dbe6-45fb-9400-fdd499184b82","remote_addr":"[fd00:1122:3344:101::b]:50106","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":775,"response_code":"200"} {"msg":"path is \"/data/regions/643c6372-797d-42e9-9197-61bfa06fc305\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.722204527Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/643c6372-797d-42e9-9197-61bfa06fc305","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.731936696Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"datafile"} {"msg":"region 643c6372-797d-42e9-9197-61bfa06fc305 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.740400651Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.740558237Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.740619972Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"uri":"/crucible/0/regions/643c6372-797d-42e9-9197-61bfa06fc305","method":"DELETE","req_id":"e8ef279d-ccba-4910-8ff5-00e96b5e9713","remote_addr":"[fd00:1122:3344:101::b]:50106","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":18432,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.740762295Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"uri":"/crucible/0/regions/643c6372-797d-42e9-9197-61bfa06fc305","method":"GET","req_id":"c40ca2e6-f301-48fd-817a-87d95b723765","remote_addr":"[fd00:1122:3344:101::b]:50106","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-643c6372-797d-42e9-9197-61bfa06fc305 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.742009546Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.746594389Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/643c6372-797d-42e9-9197-61bfa06fc305\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.756518131Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"region":"643c6372-797d-42e9-9197-61bfa06fc305","component":"worker"} {"msg":"region 643c6372-797d-42e9-9197-61bfa06fc305 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.81025439Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-30T06:22:04.856556714Z","hostname":"oxz_crucible_2f330fea-db40-4407-bc57-f00393c55fe1","pid":21390,"uri":"/crucible/0/regions/643c6372-797d-42e9-9197-61bfa06fc305","method":"GET","req_id":"387a8ebf-d8b5-4ed9-829c-987ab7dc67df","remote_addr":"[fd00:1122:3344:101::b]:50106","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":107,"response_code":"200"}