[ Oct 24 04:51:12 Enabled. ] [ Oct 24 04:51:12 Rereading configuration. ] [ Oct 24 04:51:16 Rereading configuration. ] [ Oct 24 04:51:22 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::19 ++ 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::19 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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::19]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:23.151937585Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037} {"msg":"listen IP: [fd00:1122:3344:101::19]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:23.155381199Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:23.155388509Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:23.909311276Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:22.798769017Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:45525"} {"msg":"region 83a94069-780c-49d7-9ae2-78199c828368 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:22.801653555Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:22.803098085Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"uri":"/crucible/0/regions","method":"POST","req_id":"28cd015e-ad83-4da1-9885-75244745df85","remote_addr":"[fd00:1122:3344:101::a]:45525","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":1653,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:22.803129435Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/83a94069-780c-49d7-9ae2-78199c828368","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:22.812988273Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/83a94069-780c-49d7-9ae2-78199c828368","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:22.813014693Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"83a94069-780c-49d7-9ae2-78199c828368\"), 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/83a94069-780c-49d7-9ae2-78199c828368\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:22.862199316Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"region":"83a94069-780c-49d7-9ae2-78199c828368","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.038979178Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"region":"83a94069-780c-49d7-9ae2-78199c828368","component":"worker"} {"msg":"region 83a94069-780c-49d7-9ae2-78199c828368 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.039016659Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.039110961Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-83a94069-780c-49d7-9ae2-78199c828368","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.039644146Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-83a94069-780c-49d7-9ae2-78199c828368","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.04348963Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.056167664Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-83a94069-780c-49d7-9ae2-78199c828368","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.059628347Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/83a94069-780c-49d7-9ae2-78199c828368","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.060354297Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.060427289Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::19","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.06047111Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.060508941Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.065771494Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.070560384Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.146513502Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"uri":"/crucible/0/regions","method":"POST","req_id":"11661783-781f-4dc0-9f51-99929be22479","remote_addr":"[fd00:1122:3344:101::a]:45525","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":75,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.45229215Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:39498"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.51538331Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"uri":"/crucible/0/regions/83a94069-780c-49d7-9ae2-78199c828368","method":"GET","req_id":"32de4303-cdac-4b63-85fd-360389b73417","remote_addr":"[fd00:1122:3344:101::a]:39498","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"path is \"/data/regions/83a94069-780c-49d7-9ae2-78199c828368\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.515635867Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/83a94069-780c-49d7-9ae2-78199c828368","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.526249983Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"datafile"} {"msg":"region 83a94069-780c-49d7-9ae2-78199c828368 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.536284655Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.536438429Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.536488001Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"uri":"/crucible/0/regions/83a94069-780c-49d7-9ae2-78199c828368","method":"DELETE","req_id":"c34c5d5e-6aba-46dd-8cd2-5e1f50530ce0","remote_addr":"[fd00:1122:3344:101::a]:39498","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":20867,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.536638055Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"uri":"/crucible/0/regions/83a94069-780c-49d7-9ae2-78199c828368","method":"GET","req_id":"45941a3c-865d-473b-98a0-c1a0fd84d3a6","remote_addr":"[fd00:1122:3344:101::a]:39498","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":27,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-83a94069-780c-49d7-9ae2-78199c828368 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.537603951Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.541556878Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/83a94069-780c-49d7-9ae2-78199c828368\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.552261468Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"region":"83a94069-780c-49d7-9ae2-78199c828368","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.591458801Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"uri":"/crucible/0/regions/83a94069-780c-49d7-9ae2-78199c828368","method":"GET","req_id":"898fc02d-53c3-4ec6-bde6-f9985a0b0aaa","remote_addr":"[fd00:1122:3344:101::a]:39498","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":83,"response_code":"200"} {"msg":"region 83a94069-780c-49d7-9ae2-78199c828368 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.608579545Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:23.680748421Z","hostname":"oxz_crucible_28b94fa0-8efa-4dfa-b6d5-9bcf93bf7970","pid":23037,"uri":"/crucible/0/regions/83a94069-780c-49d7-9ae2-78199c828368","method":"GET","req_id":"51b8a5bd-c105-4ae5-8d1e-df1c67e531f4","remote_addr":"[fd00:1122:3344:101::a]:39498","local_addr":"[fd00:1122:3344:101::19]:32345","component":"dropshot","latency_us":35,"response_code":"200"}