[ Feb 18 04:56:04 Enabled. ] [ Feb 18 04:56:04 Rereading configuration. ] [ Feb 18 04:56:06 Rereading configuration. ] [ Feb 18 04:56:09 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=oxControlService14 ++ 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 + [[ oxControlService14 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService14 ipadm: Could not delete oxControlService14: Interface does not exist + true + ipadm create-if -t oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService14 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService14 + ipadm show-addr oxControlService14/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService14/ll + ipadm show-addr oxControlService14/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::16 oxControlService14/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":"2024-02-18T04:56:10.566620849Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:56:10.572671685Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:56:10.572687405Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:56:11.065656442Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.587511455Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:56104"} {"msg":"region 9346e860-0f56-41a4-911f-48657f74e4d2 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.619136571Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"datafile"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.624108047Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.62843445Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"uri":"/crucible/0/regions","method":"POST","req_id":"f1cf8bde-0e05-498e-aa13-449495f26ffd","remote_addr":"[fd00:1122:3344:101::c]:56104","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":22389,"response_code":"200"} {"msg":"zfs set reservation of 1342177280 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/9346e860-0f56-41a4-911f-48657f74e4d2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.634310752Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/9346e860-0f56-41a4-911f-48657f74e4d2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.634325043Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"9346e860-0f56-41a4-911f-48657f74e4d2\"), 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/9346e860-0f56-41a4-911f-48657f74e4d2\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.69778078Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"region":"9346e860-0f56-41a4-911f-48657f74e4d2","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.924865707Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"uri":"/crucible/0/regions","method":"POST","req_id":"ed8a9808-3341-49ba-a4be-f58eab083b5c","remote_addr":"[fd00:1122:3344:101::c]:56104","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":77,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.953603478Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"region":"9346e860-0f56-41a4-911f-48657f74e4d2","component":"worker"} {"msg":"region 9346e860-0f56-41a4-911f-48657f74e4d2 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.953627009Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.953756001Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-9346e860-0f56-41a4-911f-48657f74e4d2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.954157149Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-9346e860-0f56-41a4-911f-48657f74e4d2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.958205067Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.968056005Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-9346e860-0f56-41a4-911f-48657f74e4d2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.971676855Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/9346e860-0f56-41a4-911f-48657f74e4d2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.9724751Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.972535911Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.972580252Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.972625533Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.977462976Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:00.986565571Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:01.265165536Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"uri":"/crucible/0/regions","method":"POST","req_id":"090ed1b6-ab16-4206-8ed5-5eb76f962c3f","remote_addr":"[fd00:1122:3344:101::c]:56104","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":74,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.130010877Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:55284"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.130100379Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"uri":"/crucible/0/regions/9346e860-0f56-41a4-911f-48657f74e4d2","method":"GET","req_id":"14267367-5401-4fad-8947-cf07cef8b670","remote_addr":"[fd00:1122:3344:101::c]:55284","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":60,"response_code":"200"} {"msg":"path is \"/data/regions/9346e860-0f56-41a4-911f-48657f74e4d2\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.130313123Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"datafile"} {"msg":"dataset is oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/9346e860-0f56-41a4-911f-48657f74e4d2","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.138932459Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"datafile"} {"msg":"region 9346e860-0f56-41a4-911f-48657f74e4d2 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.146865431Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.147084425Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.147162057Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"uri":"/crucible/0/regions/9346e860-0f56-41a4-911f-48657f74e4d2","method":"DELETE","req_id":"32f4dd11-8184-4d77-931a-53efb566f0d2","remote_addr":"[fd00:1122:3344:101::c]:55284","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":16875,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.147318109Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"uri":"/crucible/0/regions/9346e860-0f56-41a4-911f-48657f74e4d2","method":"GET","req_id":"7c8341d7-5fe6-4a2f-abfc-3bf069b609e7","remote_addr":"[fd00:1122:3344:101::c]:55284","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-9346e860-0f56-41a4-911f-48657f74e4d2 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.148573144Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.152319136Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_cd70d7f6-2354-4bf2-8012-55bf9eaf7930/crucible/regions/9346e860-0f56-41a4-911f-48657f74e4d2\"","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.160818148Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"region":"9346e860-0f56-41a4-911f-48657f74e4d2","component":"worker"} {"msg":"region 9346e860-0f56-41a4-911f-48657f74e4d2 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.211329078Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2024-02-18T04:57:02.231198489Z","hostname":"oxz_crucible_d338d4a9-e07a-4784-ad42-40c8e0e493ab","pid":21356,"uri":"/crucible/0/regions/9346e860-0f56-41a4-911f-48657f74e4d2","method":"GET","req_id":"4768c409-8ff1-4a93-b2ad-8b36367381e8","remote_addr":"[fd00:1122:3344:101::c]:55284","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":593,"response_code":"200"}