[ Dec 11 21:11:31 Enabled. ] [ Dec 11 21:11:31 Rereading configuration. ] [ Dec 11 21:11:39 Rereading configuration. ] [ Dec 11 21:11: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=oxControlService23 ++ 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::17 ++ 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 + [[ oxControlService23 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService23 ipadm: Could not delete oxControlService23: Interface does not exist + true + ipadm create-if -t oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService23 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService23 + ipadm show-addr oxControlService23/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService23/ll + ipadm show-addr oxControlService23/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::17 oxControlService23/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::17]: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-12-11T21:11:43.862923578Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892} {"msg":"listen IP: [fd00:1122:3344:101::17]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:11:43.865892508Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:11:43.865901119Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:11:44.151853045Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.032453569Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:64741"} {"msg":"region 6534e688-f42c-4f26-b766-814c6e7e39ac state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.069706384Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.070995779Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.075281915Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"uri":"/crucible/0/regions","method":"POST","req_id":"2fc0c305-dc0b-4b71-816e-99806fb90494","remote_addr":"[fd00:1122:3344:101::a]:64741","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":19104,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6534e688-f42c-4f26-b766-814c6e7e39ac","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.08067811Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_ceb4461c-cf56-4719-ad3c-14430bfdfb60/crucible/regions/6534e688-f42c-4f26-b766-814c6e7e39ac","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.08069217Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"6534e688-f42c-4f26-b766-814c6e7e39ac\"), 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/6534e688-f42c-4f26-b766-814c6e7e39ac\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.149445886Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"region":"6534e688-f42c-4f26-b766-814c6e7e39ac","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.273860833Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"uri":"/crucible/0/regions","method":"POST","req_id":"646fa7e0-2512-4ce9-98a3-9c19a1f7bf8a","remote_addr":"[fd00:1122:3344:101::a]:64741","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":94,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.384972111Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"region":"6534e688-f42c-4f26-b766-814c6e7e39ac","component":"worker"} {"msg":"region 6534e688-f42c-4f26-b766-814c6e7e39ac state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.385008492Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.385129625Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-6534e688-f42c-4f26-b766-814c6e7e39ac","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.387590422Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-6534e688-f42c-4f26-b766-814c6e7e39ac","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.393331827Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.413289556Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-6534e688-f42c-4f26-b766-814c6e7e39ac","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.416175083Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/6534e688-f42c-4f26-b766-814c6e7e39ac","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.422618157Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.424702153Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::17","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.424761375Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.424795926Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.429060571Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.435051163Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T21:12:52.830355Z","hostname":"oxz_crucible_8f8dc836-de53-4805-8c2c-4334179d6266","pid":21892,"uri":"/crucible/0/regions","method":"POST","req_id":"d95cd9ea-33c7-4aaf-92a9-ec0f0249f2fb","remote_addr":"[fd00:1122:3344:101::a]:64741","local_addr":"[fd00:1122:3344:101::17]:32345","component":"dropshot","latency_us":102,"response_code":"200"}