[ Oct 24 04:51:12 Enabled. ] [ Oct 24 04:51:12 Rereading configuration. ] [ Oct 24 04:51:16 Rereading configuration. ] [ Oct 24 04:51:24 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::13 ++ 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::13 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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::13]: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-10-24T04:51:24.685350222Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378} {"msg":"listen IP: [fd00:1122:3344:101::13]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:24.690013018Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:24.690024309Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:51:24.83101563Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.884287173Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:51314"} {"msg":"region f0d388f1-02f3-45ab-964b-fc9753ed946f state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.916314271Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.917812631Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"uri":"/crucible/0/regions","method":"POST","req_id":"f7c6e6f9-6a2e-449e-b13f-6663aece4b4e","remote_addr":"[fd00:1122:3344:101::a]:51314","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":1860,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.917848362Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.928160482Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.928189503Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"f0d388f1-02f3-45ab-964b-fc9753ed946f\"), state: Requested, block_size: 512, extent_size: 131072, extent_count: 32, encrypted: true, port_number: 19000, cert_pem: None, key_pem: None, root_pem: None } at \"/data/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:25.981328333Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"region":"f0d388f1-02f3-45ab-964b-fc9753ed946f","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.126390624Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"uri":"/crucible/0/regions","method":"POST","req_id":"20448b22-a415-410d-88bf-58413825d9a0","remote_addr":"[fd00:1122:3344:101::a]:51314","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":82,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.155083502Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"region":"f0d388f1-02f3-45ab-964b-fc9753ed946f","component":"worker"} {"msg":"region f0d388f1-02f3-45ab-964b-fc9753ed946f state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.155118873Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.155253867Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-f0d388f1-02f3-45ab-964b-fc9753ed946f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.155826372Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-f0d388f1-02f3-45ab-964b-fc9753ed946f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.159404279Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.169431431Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-f0d388f1-02f3-45ab-964b-fc9753ed946f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.173237304Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.173977444Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.174055916Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::13","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.174101938Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.174142259Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.179437292Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.184994833Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:52:26.615158591Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"uri":"/crucible/0/regions","method":"POST","req_id":"742833ae-c153-4777-9a10-24e0a7917e87","remote_addr":"[fd00:1122:3344:101::a]:51314","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.259738681Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:44164"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.259936746Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"uri":"/crucible/0/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f","method":"GET","req_id":"fcffd070-5bec-46e0-a71e-920d8aafbd62","remote_addr":"[fd00:1122:3344:101::a]:44164","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":162,"response_code":"200"} {"msg":"path is \"/data/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.260103651Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.271340715Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"datafile"} {"msg":"region f0d388f1-02f3-45ab-964b-fc9753ed946f state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.281899991Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.282511568Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.2825654Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"uri":"/crucible/0/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f","method":"DELETE","req_id":"c3b28ed4-1807-47f2-a24c-6ad2ad468870","remote_addr":"[fd00:1122:3344:101::a]:44164","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":22476,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.282675052Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"uri":"/crucible/0/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f","method":"GET","req_id":"7826393b-f05a-44fe-aa7c-3be7dd7401c7","remote_addr":"[fd00:1122:3344:101::a]:44164","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":23,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-f0d388f1-02f3-45ab-964b-fc9753ed946f (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.283789573Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.293774443Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.306073817Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"region":"f0d388f1-02f3-45ab-964b-fc9753ed946f","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.362569968Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"uri":"/crucible/0/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f","method":"GET","req_id":"3ab03026-056b-49c4-9356-0789e43a31a6","remote_addr":"[fd00:1122:3344:101::a]:44164","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":91,"response_code":"200"} {"msg":"region f0d388f1-02f3-45ab-964b-fc9753ed946f state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.366920726Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-24T04:55:15.463721839Z","hostname":"oxz_crucible_85a4566d-95e3-4dec-a290-7357329d4968","pid":23378,"uri":"/crucible/0/regions/f0d388f1-02f3-45ab-964b-fc9753ed946f","method":"GET","req_id":"a46adb64-0a75-46f6-a7b3-f688622bc99f","remote_addr":"[fd00:1122:3344:101::a]:44164","local_addr":"[fd00:1122:3344:101::13]:32345","component":"dropshot","latency_us":49,"response_code":"200"}