[ Oct 24 21:38:36 Enabled. ] [ Oct 24 21:38:36 Rereading configuration. ] [ Oct 24 21:38:37 Rereading configuration. ] [ Oct 24 21:38:43 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=oxControlService11 ++ 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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/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 + [[ oxControlService11 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService11 ipadm: Could not delete oxControlService11: Interface does not exist + true + ipadm create-if -t oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService11 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService11 + ipadm show-addr oxControlService11/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService11/ll + ipadm show-addr oxControlService11/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService11/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_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible -l '[fd00:1122:3344:101::15]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:44.276896156Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:44.279717926Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:44.279726546Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:38:44.510014733Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.501134557Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:41817"} {"msg":"region 922ec25c-8ebe-45ed-85e7-778a0b51fb6c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.536835802Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.542566405Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"uri":"/crucible/0/regions","method":"POST","req_id":"6b62207a-e4df-4e7b-80ef-7bb6998f047c","remote_addr":"[fd00:1122:3344:101::a]:41817","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":8210,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.542628596Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.554757126Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.554792617Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"922ec25c-8ebe-45ed-85e7-778a0b51fb6c\"), 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/922ec25c-8ebe-45ed-85e7-778a0b51fb6c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.631794427Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"region":"922ec25c-8ebe-45ed-85e7-778a0b51fb6c","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.786114426Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"uri":"/crucible/0/regions","method":"POST","req_id":"a22f66c3-357f-444a-8a4c-b6892c1e398b","remote_addr":"[fd00:1122:3344:101::a]:41817","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":88,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.898114606Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"region":"922ec25c-8ebe-45ed-85e7-778a0b51fb6c","component":"worker"} {"msg":"region 922ec25c-8ebe-45ed-85e7-778a0b51fb6c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.898152117Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.898493814Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-922ec25c-8ebe-45ed-85e7-778a0b51fb6c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.901322695Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-922ec25c-8ebe-45ed-85e7-778a0b51fb6c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.905149467Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.919955834Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-922ec25c-8ebe-45ed-85e7-778a0b51fb6c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.923104751Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.923645273Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.923722295Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.923765866Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.923800877Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.929700923Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:27.939302049Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.493872787Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"uri":"/crucible/0/regions","method":"POST","req_id":"ca70ad9e-c997-4bca-8f7e-ebc305643d4a","remote_addr":"[fd00:1122:3344:101::a]:41817","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.813646262Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:52859"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.813824656Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"uri":"/crucible/0/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c","method":"GET","req_id":"22bc9088-05f7-4d87-b89f-519f9c3b62e4","remote_addr":"[fd00:1122:3344:101::a]:52859","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":136,"response_code":"200"} {"msg":"path is \"/data/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.814066041Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"datafile"} {"msg":"dataset is oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.826872485Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"datafile"} {"msg":"region 922ec25c-8ebe-45ed-85e7-778a0b51fb6c state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.837616375Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.83782091Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.837882681Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"uri":"/crucible/0/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c","method":"DELETE","req_id":"e639ebea-77a3-44f7-924a-559bdeaa798d","remote_addr":"[fd00:1122:3344:101::a]:52859","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":23868,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.839064156Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"uri":"/crucible/0/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c","method":"GET","req_id":"b9ba5d69-1988-499f-891e-9635606efb6f","remote_addr":"[fd00:1122:3344:101::a]:52859","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":28,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-922ec25c-8ebe-45ed-85e7-778a0b51fb6c (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.839138148Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.844249277Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.85696898Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"region":"922ec25c-8ebe-45ed-85e7-778a0b51fb6c","component":"worker"} {"msg":"region 922ec25c-8ebe-45ed-85e7-778a0b51fb6c state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.924288083Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T21:39:28.932904768Z","hostname":"oxz_crucible_b6f3d180-80bb-4812-879b-0ab601d99a11","pid":21588,"uri":"/crucible/0/regions/922ec25c-8ebe-45ed-85e7-778a0b51fb6c","method":"GET","req_id":"2ee35ce7-f9f4-425b-8e39-3b1321c5e850","remote_addr":"[fd00:1122:3344:101::a]:52859","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":96,"response_code":"200"}