[ Feb 4 18:23:19 Enabled. ] [ Feb 4 18:23:19 Rereading configuration. ] [ Feb 4 18:23:20 Rereading configuration. ] [ Feb 4 18:23:22 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_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 + [[ 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::12 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_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-04T18:23:23.649631186Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.661317553Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.661332154Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:23:23.852214002Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.055450513Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:55322"} {"msg":"region 42826f46-3335-46c6-a9f0-8491c4f192df state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.094422825Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.096723954Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"uri":"/crucible/0/regions","method":"POST","req_id":"bf638022-1e19-4535-945d-1dbe4e75da6e","remote_addr":"[fd00:1122:3344:101::a]:55322","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":6558,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.097848978Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/42826f46-3335-46c6-a9f0-8491c4f192df","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.107157821Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/42826f46-3335-46c6-a9f0-8491c4f192df","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.107181989Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"42826f46-3335-46c6-a9f0-8491c4f192df\"), 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/42826f46-3335-46c6-a9f0-8491c4f192df\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.159845921Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"region":"42826f46-3335-46c6-a9f0-8491c4f192df","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.315223954Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"region":"42826f46-3335-46c6-a9f0-8491c4f192df","component":"worker"} {"msg":"region 42826f46-3335-46c6-a9f0-8491c4f192df state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.315273004Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.315394456Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-42826f46-3335-46c6-a9f0-8491c4f192df","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.315823901Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-42826f46-3335-46c6-a9f0-8491c4f192df","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.318734578Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.326064971Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-42826f46-3335-46c6-a9f0-8491c4f192df","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.328968347Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/42826f46-3335-46c6-a9f0-8491c4f192df","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.329530115Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.33153551Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.33157927Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.331626061Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.338529338Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.343054125Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-04T18:24:57.460053953Z","hostname":"oxz_crucible_4d490882-1658-4a5f-926b-f3cfb1b96926","pid":22239,"uri":"/crucible/0/regions","method":"POST","req_id":"008d9f0b-49dc-4852-aa0f-ce0a5b693070","remote_addr":"[fd00:1122:3344:101::a]:55322","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":61,"response_code":"200"}