[ Dec 1 20:52:49 Enabled. ] [ Dec 1 20:52:49 Rereading configuration. ] [ Dec 1 20:52:52 Rereading configuration. ] [ Dec 1 20:52:55 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=oxControlService16 ++ 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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::16 ++ 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 + [[ oxControlService16 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService16 ipadm: Could not delete oxControlService16: Interface does not exist + true + ipadm create-if -t oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService16 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService16 + ipadm show-addr oxControlService16/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService16/ll + ipadm show-addr oxControlService16/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService16/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_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible -l '[fd00:1122:3344:101::16]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.351453014Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.362421625Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.362436855Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:52:56.706632263Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.850184174Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:48138"} {"msg":"region 0fbc9065-be28-4d8c-bfd3-c85deadeb969 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.875879071Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"datafile"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.877166166Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.88097026Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"uri":"/crucible/0/regions","method":"POST","req_id":"e336e0a1-eab4-4f80-9e7d-c6c3e856c152","remote_addr":"[fd00:1122:3344:101::a]:48138","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":12452,"response_code":"200"} {"msg":"zfs set reservation of 2684354560 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.887841319Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.88785567Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"0fbc9065-be28-4d8c-bfd3-c85deadeb969\"), 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/0fbc9065-be28-4d8c-bfd3-c85deadeb969\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:10.946696018Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"region":"0fbc9065-be28-4d8c-bfd3-c85deadeb969","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.140238129Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"region":"0fbc9065-be28-4d8c-bfd3-c85deadeb969","component":"worker"} {"msg":"region 0fbc9065-be28-4d8c-bfd3-c85deadeb969 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.14028945Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.140376692Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-0fbc9065-be28-4d8c-bfd3-c85deadeb969","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.142755678Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-0fbc9065-be28-4d8c-bfd3-c85deadeb969","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.147129068Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.16065178Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-0fbc9065-be28-4d8c-bfd3-c85deadeb969","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.1635535Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.164106095Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.16610975Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.166170062Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.166217503Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.16865661Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"uri":"/crucible/0/regions","method":"POST","req_id":"37c2b491-04b9-49a6-95f2-cb9058d86d4e","remote_addr":"[fd00:1122:3344:101::a]:48138","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.175129888Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:54:11.181102662Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.630019102Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39335"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.632667915Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"uri":"/crucible/0/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969","method":"GET","req_id":"5bb456d4-050f-4b9c-9798-0a7a057481ef","remote_addr":"[fd00:1122:3344:101::a]:39335","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":2579,"response_code":"200"} {"msg":"path is \"/data/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.632912902Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.644260473Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"datafile"} {"msg":"region 0fbc9065-be28-4d8c-bfd3-c85deadeb969 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.653758713Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.654054571Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.654106953Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"uri":"/crucible/0/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969","method":"DELETE","req_id":"21fa7555-7d52-4d89-8863-e4f932f4769c","remote_addr":"[fd00:1122:3344:101::a]:39335","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21261,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.654815082Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"uri":"/crucible/0/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969","method":"GET","req_id":"36515558-2f3d-46b9-babb-144d09fed922","remote_addr":"[fd00:1122:3344:101::a]:39335","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":569,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-0fbc9065-be28-4d8c-bfd3-c85deadeb969 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.655243454Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.671424787Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.68173292Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"region":"0fbc9065-be28-4d8c-bfd3-c85deadeb969","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.73022159Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"uri":"/crucible/0/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969","method":"GET","req_id":"105b42b2-0edc-48f1-b69a-d216bc89f7e0","remote_addr":"[fd00:1122:3344:101::a]:39335","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"region 0fbc9065-be28-4d8c-bfd3-c85deadeb969 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.732601685Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-01T20:57:04.818025957Z","hostname":"oxz_crucible_04d3778f-f550-4ef0-97c4-886f56ad6f96","pid":21420,"uri":"/crucible/0/regions/0fbc9065-be28-4d8c-bfd3-c85deadeb969","method":"GET","req_id":"0c4745b8-b849-4855-b67d-5410d3f16f93","remote_addr":"[fd00:1122:3344:101::a]:39335","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":518,"response_code":"200"}