[ Oct 11 22:23:14 Enabled. ] [ Oct 11 22:23:14 Rereading configuration. ] [ Oct 11 22:23:16 Rereading configuration. ] [ Oct 11 22:23:18 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=oxControlService10 ++ 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::15 ++ 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 + [[ oxControlService10 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService10 ipadm: Could not delete oxControlService10: Interface does not exist + true + ipadm create-if -t oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService10 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService10 + ipadm show-addr oxControlService10/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService10/ll + ipadm show-addr oxControlService10/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::15 oxControlService10/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::15]: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-11T22:23:19.560981369Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701} {"msg":"listen IP: [fd00:1122:3344:101::15]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.56565348Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.56566569Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:23:19.775228758Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.25801725Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:63246"} {"msg":"region e055b7ac-b1e2-4a32-bd31-719451934963 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.327231278Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.332135703Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"uri":"/crucible/0/regions","method":"POST","req_id":"583c9dfb-ae61-4b1c-93a4-09af1bb2d4f7","remote_addr":"[fd00:1122:3344:101::c]:63246","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":11681,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.335173119Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/e055b7ac-b1e2-4a32-bd31-719451934963","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.343318051Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/e055b7ac-b1e2-4a32-bd31-719451934963","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.343345282Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"e055b7ac-b1e2-4a32-bd31-719451934963\"), 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/e055b7ac-b1e2-4a32-bd31-719451934963\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.389416994Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"region":"e055b7ac-b1e2-4a32-bd31-719451934963","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.5003157Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"uri":"/crucible/0/regions","method":"POST","req_id":"c14c82f6-cdd6-4e1b-aa32-40c9731d5a57","remote_addr":"[fd00:1122:3344:101::c]:63246","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":100,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.580630326Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"region":"e055b7ac-b1e2-4a32-bd31-719451934963","component":"worker"} {"msg":"region e055b7ac-b1e2-4a32-bd31-719451934963 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.580650756Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.580774748Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-e055b7ac-b1e2-4a32-bd31-719451934963","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.590650146Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-e055b7ac-b1e2-4a32-bd31-719451934963","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.594796368Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.604629356Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-e055b7ac-b1e2-4a32-bd31-719451934963","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.607335647Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/e055b7ac-b1e2-4a32-bd31-719451934963","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.608094958Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.60817434Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::15","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.60822159Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.608262931Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.612350942Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:38.622672737Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:24:39.11289458Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"uri":"/crucible/0/regions","method":"POST","req_id":"062d0fa9-7f55-4c30-8ea1-40dc80bc3826","remote_addr":"[fd00:1122:3344:101::c]:63246","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":106,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.000383964Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:61520"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.063300799Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"uri":"/crucible/0/regions/e055b7ac-b1e2-4a32-bd31-719451934963","method":"GET","req_id":"005e91f0-f6b9-400f-841b-3c524b224930","remote_addr":"[fd00:1122:3344:101::c]:61520","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":216,"response_code":"200"} {"msg":"path is \"/data/regions/e055b7ac-b1e2-4a32-bd31-719451934963\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.063481752Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"datafile"} {"msg":"dataset is oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/e055b7ac-b1e2-4a32-bd31-719451934963","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.075626924Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"datafile"} {"msg":"region e055b7ac-b1e2-4a32-bd31-719451934963 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.086065121Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.086248364Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.086296064Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"uri":"/crucible/0/regions/e055b7ac-b1e2-4a32-bd31-719451934963","method":"DELETE","req_id":"9a2796c3-576d-4db9-bfdf-bbf635d207c7","remote_addr":"[fd00:1122:3344:101::c]:61520","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":22832,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.089137957Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"uri":"/crucible/0/regions/e055b7ac-b1e2-4a32-bd31-719451934963","method":"GET","req_id":"2cede436-98aa-44b9-91e8-89e5d4bb4c7d","remote_addr":"[fd00:1122:3344:101::c]:61520","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":422,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-e055b7ac-b1e2-4a32-bd31-719451934963 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.097555824Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.106226682Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_616b26df-e62a-4c68-b506-f4a923d8aaf7/crucible/regions/e055b7ac-b1e2-4a32-bd31-719451934963\"","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.118880344Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"region":"e055b7ac-b1e2-4a32-bd31-719451934963","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.140963845Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"uri":"/crucible/0/regions/e055b7ac-b1e2-4a32-bd31-719451934963","method":"GET","req_id":"fd49d6d8-ec0a-4e7d-88d4-0d39d14cb0fd","remote_addr":"[fd00:1122:3344:101::c]:61520","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":73,"response_code":"200"} {"msg":"region e055b7ac-b1e2-4a32-bd31-719451934963 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.176359047Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-10-11T22:27:30.286288658Z","hostname":"oxz_crucible_27cc08d9-b7bf-43be-ab12-a33556e5fe80","pid":21701,"uri":"/crucible/0/regions/e055b7ac-b1e2-4a32-bd31-719451934963","method":"GET","req_id":"4c42dcae-2bea-415b-b566-10a34d816137","remote_addr":"[fd00:1122:3344:101::c]:61520","local_addr":"[fd00:1122:3344:101::15]:32345","component":"dropshot","latency_us":32,"response_code":"200"}