[ Nov 21 21:33:38 Enabled. ] [ Nov 21 21:33:38 Rereading configuration. ] [ Nov 21 21:33:40 Rereading configuration. ] [ Nov 21 21:33:42 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_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 + [[ 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::16 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_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-11-21T21:33:43.135257539Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:33:43.139112042Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:33:43.139125132Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:33:43.272405623Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:32.841603866Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:44105"} {"msg":"region 3730ce91-4141-4162-bfd4-491ee08d9207 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:32.858629351Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:32.861050301Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"uri":"/crucible/0/regions","method":"POST","req_id":"8f359f3d-30bd-44bb-8694-aed1b2548c19","remote_addr":"[fd00:1122:3344:101::a]:44105","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":12659,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:32.862403433Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/3730ce91-4141-4162-bfd4-491ee08d9207","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:32.871747222Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/3730ce91-4141-4162-bfd4-491ee08d9207","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:32.871783692Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"3730ce91-4141-4162-bfd4-491ee08d9207\"), 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/3730ce91-4141-4162-bfd4-491ee08d9207\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:32.931906342Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"region":"3730ce91-4141-4162-bfd4-491ee08d9207","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:32.99875826Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"uri":"/crucible/0/regions","method":"POST","req_id":"233d79cc-f4b4-4b95-8601-7a8f76afe055","remote_addr":"[fd00:1122:3344:101::a]:44105","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":87,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.239597233Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"region":"3730ce91-4141-4162-bfd4-491ee08d9207","component":"worker"} {"msg":"region 3730ce91-4141-4162-bfd4-491ee08d9207 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.239631524Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.239943016Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-3730ce91-4141-4162-bfd4-491ee08d9207","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.242531438Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-3730ce91-4141-4162-bfd4-491ee08d9207","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.24627235Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.257421375Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-3730ce91-4141-4162-bfd4-491ee08d9207","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.261173026Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/3730ce91-4141-4162-bfd4-491ee08d9207","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.261930963Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.262007793Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.262052294Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.262088394Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.269261705Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.276719028Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:33.481900199Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"uri":"/crucible/0/regions","method":"POST","req_id":"7a5d6d49-b7f7-4afd-a66c-9da7f3edaa2b","remote_addr":"[fd00:1122:3344:101::a]:44105","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":72,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.064162199Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:57556"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.096667915Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"uri":"/crucible/0/regions/3730ce91-4141-4162-bfd4-491ee08d9207","method":"GET","req_id":"7ca2cf54-7ebc-4458-9b5a-504c6391a378","remote_addr":"[fd00:1122:3344:101::a]:57556","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":155,"response_code":"200"} {"msg":"path is \"/data/regions/3730ce91-4141-4162-bfd4-491ee08d9207\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.09732978Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/3730ce91-4141-4162-bfd4-491ee08d9207","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.108753837Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"datafile"} {"msg":"region 3730ce91-4141-4162-bfd4-491ee08d9207 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.118869813Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.119094095Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.119153535Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"uri":"/crucible/0/regions/3730ce91-4141-4162-bfd4-491ee08d9207","method":"DELETE","req_id":"cd24ab4a-9bc3-4565-b8f0-ab93aa93f19c","remote_addr":"[fd00:1122:3344:101::a]:57556","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22226,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.119267076Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"uri":"/crucible/0/regions/3730ce91-4141-4162-bfd4-491ee08d9207","method":"GET","req_id":"9f6efa01-93a7-4e48-8a13-d75b76858fef","remote_addr":"[fd00:1122:3344:101::a]:57556","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-3730ce91-4141-4162-bfd4-491ee08d9207 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.120213414Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.126004993Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/3730ce91-4141-4162-bfd4-491ee08d9207\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.137525691Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"region":"3730ce91-4141-4162-bfd4-491ee08d9207","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.18565356Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"uri":"/crucible/0/regions/3730ce91-4141-4162-bfd4-491ee08d9207","method":"GET","req_id":"95cb554a-14ea-4ef7-8c8d-2066fb7b46ba","remote_addr":"[fd00:1122:3344:101::a]:57556","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"region 3730ce91-4141-4162-bfd4-491ee08d9207 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.207032371Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-21T21:34:34.330356387Z","hostname":"oxz_crucible_84fe9505-659d-4bf3-bc38-1905998d7f92","pid":21319,"uri":"/crucible/0/regions/3730ce91-4141-4162-bfd4-491ee08d9207","method":"GET","req_id":"c53aff7e-59dc-4083-a006-b62381a8fbe8","remote_addr":"[fd00:1122:3344:101::a]:57556","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":26,"response_code":"200"}