[ Nov 7 09:48:02 Enabled. ] [ Nov 7 09:48:02 Rereading configuration. ] [ Nov 7 09:48:03 Rereading configuration. ] [ Nov 7 09:48:04 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=oxControlService18 ++ 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::12 ++ 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 + [[ oxControlService18 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService18 ipadm: Could not delete oxControlService18: Interface does not exist + true + ipadm create-if -t oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService18 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService18 + ipadm show-addr oxControlService18/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService18/ll + ipadm show-addr oxControlService18/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::12 oxControlService18/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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::12]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:04.897960708Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581} {"msg":"listen IP: [fd00:1122:3344:101::12]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:04.899131827Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:04.899145757Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:48:05.045387665Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.32810148Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:57830"} {"msg":"region 322ac441-4638-4183-a89c-65a73d9307e6 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.352887251Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.357094321Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"uri":"/crucible/0/regions","method":"POST","req_id":"ddb08cfb-92b5-4b7b-8b8d-377262040d01","remote_addr":"[fd00:1122:3344:101::c]:57830","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":12466,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.357115411Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/322ac441-4638-4183-a89c-65a73d9307e6","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.368152645Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/322ac441-4638-4183-a89c-65a73d9307e6","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.368179055Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"322ac441-4638-4183-a89c-65a73d9307e6\"), 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/322ac441-4638-4183-a89c-65a73d9307e6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.431815211Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"region":"322ac441-4638-4183-a89c-65a73d9307e6","component":"worker"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.600158915Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"region":"322ac441-4638-4183-a89c-65a73d9307e6","component":"worker"} {"msg":"region 322ac441-4638-4183-a89c-65a73d9307e6 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.600199326Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.600285237Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-322ac441-4638-4183-a89c-65a73d9307e6","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.604820413Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-322ac441-4638-4183-a89c-65a73d9307e6","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.610433816Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.628244302Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-322ac441-4638-4183-a89c-65a73d9307e6","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.633199364Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/322ac441-4638-4183-a89c-65a73d9307e6","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.634033458Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.634123229Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::12","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.63417891Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.634219581Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.640989303Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.656655633Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:09.708222199Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"uri":"/crucible/0/regions","method":"POST","req_id":"89b52942-7729-4d6b-ae1b-409a94b9c21f","remote_addr":"[fd00:1122:3344:101::c]:57830","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":80,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.401613699Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:39890"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.432726705Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"uri":"/crucible/0/regions/322ac441-4638-4183-a89c-65a73d9307e6","method":"GET","req_id":"55f2d109-4203-4785-9f3b-7284db4f76a9","remote_addr":"[fd00:1122:3344:101::c]:39890","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"path is \"/data/regions/322ac441-4638-4183-a89c-65a73d9307e6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.432960719Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/322ac441-4638-4183-a89c-65a73d9307e6","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.443320231Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"datafile"} {"msg":"region 322ac441-4638-4183-a89c-65a73d9307e6 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.453353938Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.4535091Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.453550881Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"uri":"/crucible/0/regions/322ac441-4638-4183-a89c-65a73d9307e6","method":"DELETE","req_id":"d8fb5a9d-3d96-4c6d-89de-7513dc79ac28","remote_addr":"[fd00:1122:3344:101::c]:39890","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":20614,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.453724094Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"uri":"/crucible/0/regions/322ac441-4638-4183-a89c-65a73d9307e6","method":"GET","req_id":"e4270aa5-7284-4688-aa1b-330cb70570ae","remote_addr":"[fd00:1122:3344:101::c]:39890","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":20,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-322ac441-4638-4183-a89c-65a73d9307e6 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.45470534Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.46129483Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/322ac441-4638-4183-a89c-65a73d9307e6\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.473468572Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"region":"322ac441-4638-4183-a89c-65a73d9307e6","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.512328277Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"uri":"/crucible/0/regions/322ac441-4638-4183-a89c-65a73d9307e6","method":"GET","req_id":"85614cd0-c829-4d02-8de1-4b28c58b728f","remote_addr":"[fd00:1122:3344:101::c]:39890","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":147,"response_code":"200"} {"msg":"region 322ac441-4638-4183-a89c-65a73d9307e6 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.534987022Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-07T09:49:10.582048183Z","hostname":"oxz_crucible_b1caf545-fc13-4628-a752-6edae488df9b","pid":23581,"uri":"/crucible/0/regions/322ac441-4638-4183-a89c-65a73d9307e6","method":"GET","req_id":"e95489ec-a6b5-4192-9cde-38492682d5b0","remote_addr":"[fd00:1122:3344:101::c]:39890","local_addr":"[fd00:1122:3344:101::12]:32345","component":"dropshot","latency_us":48,"response_code":"200"}