[ Nov 8 20:21:07 Enabled. ] [ Nov 8 20:21:07 Rereading configuration. ] [ Nov 8 20:21:09 Rereading configuration. ] [ Nov 8 20:21:12 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::14 ++ 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::14 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::14]: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-11-08T20:21:13.068497004Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453} {"msg":"listen IP: [fd00:1122:3344:101::14]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:21:13.074476625Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:21:13.074485405Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:21:13.226151383Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:23.797404032Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:61117"} {"msg":"region 377e6d52-9f89-4e21-897d-8b6dfc6ba060 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:23.860066849Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:23.865244512Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:23.865272092Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"uri":"/crucible/0/regions","method":"POST","req_id":"8dbacdbf-1518-433f-96ad-033da8ce2db9","remote_addr":"[fd00:1122:3344:101::b]:61117","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":5663,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:23.875390213Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:23.875415344Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"377e6d52-9f89-4e21-897d-8b6dfc6ba060\"), 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/377e6d52-9f89-4e21-897d-8b6dfc6ba060\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:23.932227063Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"region":"377e6d52-9f89-4e21-897d-8b6dfc6ba060","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.186693513Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"region":"377e6d52-9f89-4e21-897d-8b6dfc6ba060","component":"worker"} {"msg":"region 377e6d52-9f89-4e21-897d-8b6dfc6ba060 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.186743744Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.186846837Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-377e6d52-9f89-4e21-897d-8b6dfc6ba060","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.187352168Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-377e6d52-9f89-4e21-897d-8b6dfc6ba060","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.192762636Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.200084755Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-377e6d52-9f89-4e21-897d-8b6dfc6ba060","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.20306073Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.203778246Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.203853328Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::14","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.203896549Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.20393457Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.214682344Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.220165404Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.239477625Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"uri":"/crucible/0/regions","method":"POST","req_id":"3eb304ac-ae8e-4555-82f9-f2069c316b1f","remote_addr":"[fd00:1122:3344:101::b]:61117","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":78,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.9127407Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::b]:46425"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.943960281Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"uri":"/crucible/0/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060","method":"GET","req_id":"d51eddc0-45e7-43ef-aec0-72727744b4da","remote_addr":"[fd00:1122:3344:101::b]:46425","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":96,"response_code":"200"} {"msg":"path is \"/data/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.944148165Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.955023942Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"datafile"} {"msg":"region 377e6d52-9f89-4e21-897d-8b6dfc6ba060 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.965344327Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.965512051Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.965575482Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"uri":"/crucible/0/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060","method":"DELETE","req_id":"c71f3bbe-6e67-41ea-9464-734c3b1b9baa","remote_addr":"[fd00:1122:3344:101::b]:46425","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":21453,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.965753746Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"uri":"/crucible/0/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060","method":"GET","req_id":"fd8f83ea-8020-4ce0-96fc-c90d196de3f1","remote_addr":"[fd00:1122:3344:101::b]:46425","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":28,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-377e6d52-9f89-4e21-897d-8b6dfc6ba060 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.966787669Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.975512429Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:24.988033722Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"region":"377e6d52-9f89-4e21-897d-8b6dfc6ba060","component":"worker"} {"msg":"region 377e6d52-9f89-4e21-897d-8b6dfc6ba060 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:25.050221429Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-08T20:22:25.094938404Z","hostname":"oxz_crucible_8b2c2178-c397-43b2-87ec-0a0911fe8af8","pid":21453,"uri":"/crucible/0/regions/377e6d52-9f89-4e21-897d-8b6dfc6ba060","method":"GET","req_id":"1a813809-db73-4000-a79a-647b9bdf2fef","remote_addr":"[fd00:1122:3344:101::b]:46425","local_addr":"[fd00:1122:3344:101::14]:32345","component":"dropshot","latency_us":79,"response_code":"200"}