[ Feb 16 07:02:59 Enabled. ] [ Feb 16 07:02:59 Rereading configuration. ] [ Feb 16 07:03:00 Rereading configuration. ] [ Feb 16 07:03:02 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=oxControlService19 ++ 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::18 oxControlService19/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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:02.783465702Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:02.785477403Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:02.785487853Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:03.010982366Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.209288979Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:47098"} {"msg":"region 93e97db7-8bfd-4738-a28c-a0c558469bea state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.269623244Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.270674651Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.270697562Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"uri":"/crucible/0/regions","method":"POST","req_id":"51e2899d-6cd2-402a-ae5b-61f0e3d7876c","remote_addr":"[fd00:1122:3344:101::a]:47098","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":2150,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/93e97db7-8bfd-4738-a28c-a0c558469bea","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.28040203Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/93e97db7-8bfd-4738-a28c-a0c558469bea","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.280427161Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"93e97db7-8bfd-4738-a28c-a0c558469bea\"), 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/93e97db7-8bfd-4738-a28c-a0c558469bea\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.330698598Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"region":"93e97db7-8bfd-4738-a28c-a0c558469bea","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.450864524Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"region":"93e97db7-8bfd-4738-a28c-a0c558469bea","component":"worker"} {"msg":"region 93e97db7-8bfd-4738-a28c-a0c558469bea state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.450914826Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.451002858Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-93e97db7-8bfd-4738-a28c-a0c558469bea","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.451420979Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-93e97db7-8bfd-4738-a28c-a0c558469bea","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.454127158Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.461869406Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-93e97db7-8bfd-4738-a28c-a0c558469bea","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.465179131Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/93e97db7-8bfd-4738-a28c-a0c558469bea","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.465892349Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.465956051Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.466001072Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.466043093Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.469770798Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.474449238Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.580024711Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"uri":"/crucible/0/regions","method":"POST","req_id":"bc4004a2-0042-4cb5-9dd6-e1cd89f65e86","remote_addr":"[fd00:1122:3344:101::a]:47098","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.840164722Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:60050"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.840266284Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"uri":"/crucible/0/regions/93e97db7-8bfd-4738-a28c-a0c558469bea","method":"GET","req_id":"5d87f4ae-11e3-49a9-b298-14894c3900bb","remote_addr":"[fd00:1122:3344:101::a]:60050","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":71,"response_code":"200"} {"msg":"path is \"/data/regions/93e97db7-8bfd-4738-a28c-a0c558469bea\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.840433138Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/93e97db7-8bfd-4738-a28c-a0c558469bea","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.849566652Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"datafile"} {"msg":"region 93e97db7-8bfd-4738-a28c-a0c558469bea state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.858211133Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.858350357Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.858412779Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"uri":"/crucible/0/regions/93e97db7-8bfd-4738-a28c-a0c558469bea","method":"DELETE","req_id":"ee334eb6-0132-49e4-86ef-edaf916d982b","remote_addr":"[fd00:1122:3344:101::a]:60050","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":17997,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.858621684Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"uri":"/crucible/0/regions/93e97db7-8bfd-4738-a28c-a0c558469bea","method":"GET","req_id":"3ea12de0-245b-4062-8636-33888e70c426","remote_addr":"[fd00:1122:3344:101::a]:60050","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-93e97db7-8bfd-4738-a28c-a0c558469bea (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.859458156Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.866597628Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/93e97db7-8bfd-4738-a28c-a0c558469bea\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.875570158Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"region":"93e97db7-8bfd-4738-a28c-a0c558469bea","component":"worker"} {"msg":"region 93e97db7-8bfd-4738-a28c-a0c558469bea state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.92799717Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-16T07:03:53.965925351Z","hostname":"oxz_crucible_2c8f8f6b-7426-4579-b888-98c5d4f92e15","pid":20731,"uri":"/crucible/0/regions/93e97db7-8bfd-4738-a28c-a0c558469bea","method":"GET","req_id":"a200e5ea-4179-4da2-896a-5b4d01ace2d8","remote_addr":"[fd00:1122:3344:101::a]:60050","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":56,"response_code":"200"}