[ Dec 6 05:05:33 Enabled. ] [ Dec 6 05:05:33 Rereading configuration. ] [ Dec 6 05:05:36 Rereading configuration. ] [ Dec 6 05:05:38 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=oxControlService13 ++ 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 + [[ oxControlService13 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService13 ipadm: Could not delete oxControlService13: Interface does not exist + true + ipadm create-if -t oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService13 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService13 + ipadm show-addr oxControlService13/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService13/ll + ipadm show-addr oxControlService13/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService13/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":"2023-12-06T05:05:38.987217487Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:38.990495782Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:38.990508802Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:05:39.205209276Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.01682258Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49577"} {"msg":"region 401d694a-ccb7-4877-aed6-c125ad09a3f8 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.042040782Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.043085929Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.047179128Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"uri":"/crucible/0/regions","method":"POST","req_id":"93cbc2a1-478f-48e7-80cb-ef7ebff6ecd3","remote_addr":"[fd00:1122:3344:101::a]:49577","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":15078,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.053762158Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.053779898Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"401d694a-ccb7-4877-aed6-c125ad09a3f8\"), 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/401d694a-ccb7-4877-aed6-c125ad09a3f8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.130076015Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"region":"401d694a-ccb7-4877-aed6-c125ad09a3f8","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.228172147Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"uri":"/crucible/0/regions","method":"POST","req_id":"362ab237-4e05-4116-a8bf-4178e5227b37","remote_addr":"[fd00:1122:3344:101::a]:49577","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.284371167Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"region":"401d694a-ccb7-4877-aed6-c125ad09a3f8","component":"worker"} {"msg":"region 401d694a-ccb7-4877-aed6-c125ad09a3f8 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.284397388Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.284666663Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-401d694a-ccb7-4877-aed6-c125ad09a3f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.287074243Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-401d694a-ccb7-4877-aed6-c125ad09a3f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.29170979Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.308614873Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-401d694a-ccb7-4877-aed6-c125ad09a3f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.311764086Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.316738329Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.316832231Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.316885782Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.316918292Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.320601374Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.324676532Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:06:56.760200162Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"uri":"/crucible/0/regions","method":"POST","req_id":"0e8dc0be-3593-4c88-a754-dfc3c7940b0c","remote_addr":"[fd00:1122:3344:101::a]:49577","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":604,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.574416856Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:48262"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.581443533Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"uri":"/crucible/0/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8","method":"GET","req_id":"be2bdfbb-67ee-48db-b2d4-cb8a0ba725ec","remote_addr":"[fd00:1122:3344:101::a]:48262","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":6996,"response_code":"200"} {"msg":"path is \"/data/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.581758669Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"datafile"} {"msg":"dataset is oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.59262002Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"datafile"} {"msg":"region 401d694a-ccb7-4877-aed6-c125ad09a3f8 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.601938296Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.60213818Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.6021621Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"uri":"/crucible/0/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8","method":"DELETE","req_id":"77322080-1334-40b5-a482-81c60cee00a6","remote_addr":"[fd00:1122:3344:101::a]:48262","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":20562,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.603111206Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"uri":"/crucible/0/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8","method":"GET","req_id":"7fbcc6bf-f8fa-4949-a1f4-78893ae08bec","remote_addr":"[fd00:1122:3344:101::a]:48262","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":763,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-401d694a-ccb7-4877-aed6-c125ad09a3f8 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.603446041Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.616154224Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_14b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.626887164Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"region":"401d694a-ccb7-4877-aed6-c125ad09a3f8","component":"worker"} {"msg":"region 401d694a-ccb7-4877-aed6-c125ad09a3f8 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.674856357Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-06T05:09:51.74853728Z","hostname":"oxz_crucible_a7e7761d-0fdf-4d42-a6b6-e5422167aa5e","pid":21733,"uri":"/crucible/0/regions/401d694a-ccb7-4877-aed6-c125ad09a3f8","method":"GET","req_id":"ffa84246-f01d-43bb-a1b5-23262e2c0910","remote_addr":"[fd00:1122:3344:101::a]:48262","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":90,"response_code":"200"}