[ Oct 5 07:23:31 Enabled. ] [ Oct 5 07:23:31 Rereading configuration. ] [ Oct 5 07:23:32 Rereading configuration. ] [ Oct 5 07:23:33 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=oxControlService22 ++ 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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::1a ++ 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 + [[ oxControlService22 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService22 ipadm: Could not delete oxControlService22: Interface does not exist + true + ipadm create-if -t oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService22 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService22 + ipadm show-addr oxControlService22/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService22/ll + ipadm show-addr oxControlService22/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService22/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_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible -l '[fd00:1122:3344:101::1a]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:34.155936734Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:34.161102786Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:34.161112127Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:23:34.246935887Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.208952503Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:39661"} {"msg":"region 8b524330-e572-4be9-bae3-0e9bcef6281b state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.253037071Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.259547264Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"uri":"/crucible/0/regions","method":"POST","req_id":"8dc17fbb-5c49-44cf-97fa-5425f88d8711","remote_addr":"[fd00:1122:3344:101::c]:39661","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":11238,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.265496249Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8b524330-e572-4be9-bae3-0e9bcef6281b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.274805176Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8b524330-e572-4be9-bae3-0e9bcef6281b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.274842657Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"8b524330-e572-4be9-bae3-0e9bcef6281b\"), 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/8b524330-e572-4be9-bae3-0e9bcef6281b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.498855537Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"region":"8b524330-e572-4be9-bae3-0e9bcef6281b","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.541447932Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"uri":"/crucible/0/regions","method":"POST","req_id":"51eadf3f-43e2-42c5-807a-1c75b5e32a3e","remote_addr":"[fd00:1122:3344:101::c]:39661","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":92,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.786431555Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"region":"8b524330-e572-4be9-bae3-0e9bcef6281b","component":"worker"} {"msg":"region 8b524330-e572-4be9-bae3-0e9bcef6281b state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.786471946Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.786560707Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-8b524330-e572-4be9-bae3-0e9bcef6281b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.799459062Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-8b524330-e572-4be9-bae3-0e9bcef6281b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.816547342Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.852744386Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-8b524330-e572-4be9-bae3-0e9bcef6281b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.865352776Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/8b524330-e572-4be9-bae3-0e9bcef6281b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.86687612Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.866969281Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.867015792Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.867056093Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.922848187Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:22.941094286Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.091736994Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"uri":"/crucible/0/regions","method":"POST","req_id":"9250d0f3-fc66-4e8d-bada-484f8d231419","remote_addr":"[fd00:1122:3344:101::c]:39661","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.481208457Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63208"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.543927271Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"uri":"/crucible/0/regions/8b524330-e572-4be9-bae3-0e9bcef6281b","method":"GET","req_id":"1fb25f6b-d06a-44ac-849a-997f04230315","remote_addr":"[fd00:1122:3344:101::c]:63208","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":113,"response_code":"200"} {"msg":"path is \"/data/regions/8b524330-e572-4be9-bae3-0e9bcef6281b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.544161565Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"datafile"} {"msg":"dataset is oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8b524330-e572-4be9-bae3-0e9bcef6281b","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.55586891Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"datafile"} {"msg":"region 8b524330-e572-4be9-bae3-0e9bcef6281b state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.566168103Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.566292025Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.568705404Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"uri":"/crucible/0/regions/8b524330-e572-4be9-bae3-0e9bcef6281b","method":"DELETE","req_id":"17f075f9-2894-4beb-9f41-7444f5ba2a48","remote_addr":"[fd00:1122:3344:101::c]:63208","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":24503,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.568898987Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"uri":"/crucible/0/regions/8b524330-e572-4be9-bae3-0e9bcef6281b","method":"GET","req_id":"495ccf19-0acb-41e8-acc1-d5b3409bb85d","remote_addr":"[fd00:1122:3344:101::c]:63208","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":57,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-8b524330-e572-4be9-bae3-0e9bcef6281b (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.577201238Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.595683751Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_24b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/8b524330-e572-4be9-bae3-0e9bcef6281b\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.607358816Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"region":"8b524330-e572-4be9-bae3-0e9bcef6281b","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.655247505Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"uri":"/crucible/0/regions/8b524330-e572-4be9-bae3-0e9bcef6281b","method":"GET","req_id":"436d5371-305e-4fc7-8f12-fb11957b3606","remote_addr":"[fd00:1122:3344:101::c]:63208","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":63,"response_code":"200"} {"msg":"region 8b524330-e572-4be9-bae3-0e9bcef6281b state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.710904227Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-05T07:24:23.76279981Z","hostname":"oxz_crucible_204752ee-7e4d-421d-a261-e4f8704b83de","pid":21369,"uri":"/crucible/0/regions/8b524330-e572-4be9-bae3-0e9bcef6281b","method":"GET","req_id":"ac9fd4ce-105c-434b-9136-300e902df59a","remote_addr":"[fd00:1122:3344:101::c]:63208","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":26,"response_code":"200"}