[ Oct 18 19:05:22 Enabled. ] [ Oct 18 19:05:22 Rereading configuration. ] [ Oct 18 19:05:23 Rereading configuration. ] [ Oct 18 19:05: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::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_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible -l '[fd00:1122:3344:101::16]: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-18T19:05:25.545455638Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467} {"msg":"listen IP: [fd00:1122:3344:101::16]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.555788368Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.555799205Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:05:25.725638044Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.302385528Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:35216"} {"msg":"region 9aac8ce0-5f2e-4ab5-9881-17751249ba4a state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.325245239Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.329705612Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"uri":"/crucible/0/regions","method":"POST","req_id":"6f408695-f736-4c64-941d-4dd2482421fe","remote_addr":"[fd00:1122:3344:101::c]:35216","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":10679,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.33084924Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.341560294Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.341601714Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"9aac8ce0-5f2e-4ab5-9881-17751249ba4a\"), 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/9aac8ce0-5f2e-4ab5-9881-17751249ba4a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.398554938Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"region":"9aac8ce0-5f2e-4ab5-9881-17751249ba4a","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.461237339Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"uri":"/crucible/0/regions","method":"POST","req_id":"46eaba87-2568-4f1d-889e-5b7afde19c3e","remote_addr":"[fd00:1122:3344:101::c]:35216","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.571860915Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"region":"9aac8ce0-5f2e-4ab5-9881-17751249ba4a","component":"worker"} {"msg":"region 9aac8ce0-5f2e-4ab5-9881-17751249ba4a state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.571907536Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.572011107Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-9aac8ce0-5f2e-4ab5-9881-17751249ba4a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.5743871Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-9aac8ce0-5f2e-4ab5-9881-17751249ba4a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.579028295Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.590039778Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-9aac8ce0-5f2e-4ab5-9881-17751249ba4a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.593364233Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.594046686Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.594129506Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::16","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.594249636Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.594305467Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.607401274Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:26.613499264Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.007029518Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"uri":"/crucible/0/regions","method":"POST","req_id":"e62f1b3c-a932-45cd-a317-cdd9ab1dfdcb","remote_addr":"[fd00:1122:3344:101::c]:35216","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":76,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.245534013Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:64684"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.308637517Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"uri":"/crucible/0/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a","method":"GET","req_id":"c9211679-8a71-4475-b35b-5bd8da4a755f","remote_addr":"[fd00:1122:3344:101::c]:64684","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":79,"response_code":"200"} {"msg":"path is \"/data/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.308919151Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.32035716Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"datafile"} {"msg":"region 9aac8ce0-5f2e-4ab5-9881-17751249ba4a state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.330214277Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.330398559Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.33045341Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"uri":"/crucible/0/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a","method":"DELETE","req_id":"cce48d75-9aac-4750-b733-f65ff8fb3c48","remote_addr":"[fd00:1122:3344:101::c]:64684","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":21553,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.330631572Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"uri":"/crucible/0/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a","method":"GET","req_id":"153199a9-4895-40e2-b8a7-b573da396d57","remote_addr":"[fd00:1122:3344:101::c]:64684","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":24,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-9aac8ce0-5f2e-4ab5-9881-17751249ba4a (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.331674137Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.335582401Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.347275393Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"region":"9aac8ce0-5f2e-4ab5-9881-17751249ba4a","component":"worker"} {"msg":"region 9aac8ce0-5f2e-4ab5-9881-17751249ba4a state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.412893626Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-18T19:06:27.435710599Z","hostname":"oxz_crucible_8d96930c-8975-454e-bd05-30810a291357","pid":20467,"uri":"/crucible/0/regions/9aac8ce0-5f2e-4ab5-9881-17751249ba4a","method":"GET","req_id":"5c088925-c247-4660-a866-d2c1887427a9","remote_addr":"[fd00:1122:3344:101::c]:64684","local_addr":"[fd00:1122:3344:101::16]:32345","component":"dropshot","latency_us":104,"response_code":"200"}