[ Dec 11 18:48:07 Enabled. ] [ Dec 11 18:48:07 Rereading configuration. ] [ Dec 11 18:48:10 Rereading configuration. ] [ Dec 11 18:48:20 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=oxControlService19 ++ 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_f4b4dc87-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 + [[ oxControlService19 == unknown ]] + [[ fd00:1122:3344:101::1 == unknown ]] + ipadm delete-if oxControlService19 ipadm: Could not delete oxControlService19: Interface does not exist + true + ipadm create-if -t oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv4 oxControlService19 + ipadm set-ifprop -t -p mtu=9000 -m ipv6 oxControlService19 + ipadm show-addr oxControlService19/ll ipadm: Address object not found + ipadm create-addr -t -T addrconf oxControlService19/ll + ipadm show-addr oxControlService19/omicron6 ipadm: Address object not found + ipadm create-addr -t -T static -a fd00:1122:3344:101::1a oxControlService19/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_f4b4dc87-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_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:22.045205906Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935} {"msg":"listen IP: [fd00:1122:3344:101::1a]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:22.05106831Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:22.051082811Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:48:22.241560397Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.377936863Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:56877"} {"msg":"region 1d7ef9c4-5431-4cd9-b67a-2fc467af01cd state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.420944011Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.423906019Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"uri":"/crucible/0/regions","method":"POST","req_id":"3903738e-d799-421b-8c5e-8d02a39271d2","remote_addr":"[fd00:1122:3344:101::a]:56877","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":11489,"response_code":"200"} {"msg":"Region size:2147483648 reservation:2684354560 quota:6442450944","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.42395777Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"zfs set reservation of 2684354560 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.433275014Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"zfs set quota of 6442450944 for oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.433316815Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"1d7ef9c4-5431-4cd9-b67a-2fc467af01cd\"), 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/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.493560169Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"region":"1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.724145597Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"uri":"/crucible/0/regions","method":"POST","req_id":"2e67916b-2526-49c5-adc4-f86b9a77625a","remote_addr":"[fd00:1122:3344:101::a]:56877","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":85,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.736336287Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"region":"1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","component":"worker"} {"msg":"region 1d7ef9c4-5431-4cd9-b67a-2fc467af01cd state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.736358888Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.736507961Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.741464235Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.747970754Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.762954359Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.765342103Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.766015739Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.766082411Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.766127392Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.766169622Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.770166174Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:33.783610093Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:49:34.030920386Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"uri":"/crucible/0/regions","method":"POST","req_id":"d9248bee-5eeb-490e-8a02-2b8e3e782998","remote_addr":"[fd00:1122:3344:101::a]:56877","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":97,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.196330662Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::a]:49445"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.199111595Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"uri":"/crucible/0/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","method":"GET","req_id":"fe182f8e-aa19-4239-b1e6-ace1b00b0180","remote_addr":"[fd00:1122:3344:101::a]:49445","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":2744,"response_code":"200"} {"msg":"path is \"/data/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.19931888Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.20845253Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"datafile"} {"msg":"snapshot is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd@10d2c586-80aa-4e97-ab5c-713c478e9e4c","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.216840793Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd\", \"10d2c586-80aa-4e97-ab5c-713c478e9e4c\"]","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.216877794Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"ZfsSnapshotInterface"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.230409665Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"uri":"/crucible/0/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd/snapshots/10d2c586-80aa-4e97-ab5c-713c478e9e4c","method":"GET","req_id":"edd8153d-a490-44d8-b52e-4487b5f6bb4b","remote_addr":"[fd00:1122:3344:101::a]:49445","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":31118,"response_code":"200"} {"msg":"path is \"/data/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd\"","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.230599239Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"datafile"} {"msg":"dataset is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.238621413Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"datafile"} {"msg":"snapshot is oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd@10d2c586-80aa-4e97-ab5c-713c478e9e4c","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.247291153Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"ZfsSnapshotInterface"} {"msg":"parts is [\"oxp_f4b4dc87-ab46-49fb-a4b4-d361ae214c03/crucible/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd\", \"10d2c586-80aa-4e97-ab5c-713c478e9e4c\"]","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.247315773Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"ZfsSnapshotInterface"} {"msg":"requesting running snapshot 1d7ef9c4-5431-4cd9-b67a-2fc467af01cd-10d2c586-80aa-4e97-ab5c-713c478e9e4c state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.255959302Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"datafile"} {"msg":"applying SMF actions for region 1d7ef9c4-5431-4cd9-b67a-2fc467af01cd running snapshot 10d2c586-80aa-4e97-ab5c-713c478e9e4c (state Requested)...","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.256525525Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.256575556Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"uri":"/crucible/0/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd/snapshots/10d2c586-80aa-4e97-ab5c-713c478e9e4c/run","method":"POST","req_id":"e69e96ac-226e-41f6-9cea-dc8b0c15229b","remote_addr":"[fd00:1122:3344:101::a]:49445","local_addr":"[fd00:1122:3344:101::1a]:32345","component":"dropshot","latency_us":26001,"response_code":"200"} {"msg":"creating missing snapshot instance snapshot-1d7ef9c4-5431-4cd9-b67a-2fc467af01cd-10d2c586-80aa-4e97-ab5c-713c478e9e4c","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.265969172Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:snapshot-1d7ef9c4-5431-4cd9-b67a-2fc467af01cd-10d2c586-80aa-4e97-ab5c-713c478e9e4c","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.275879599Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:snapshot-1d7ef9c4-5431-4cd9-b67a-2fc467af01cd-10d2c586-80aa-4e97-ab5c-713c478e9e4c","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.301730104Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/1d7ef9c4-5431-4cd9-b67a-2fc467af01cd/.zfs/snapshot/10d2c586-80aa-4e97-ab5c-713c478e9e4c","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.302045371Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19001","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.302098552Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ensure mode SCF_TYPE_ASTRING ro","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.302144653Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::1a","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.302184254Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.302232755Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.311611431Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.321257402Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"worker"} {"msg":"region 1d7ef9c4-5431-4cd9-b67a-2fc467af01cd running snapshot 10d2c586-80aa-4e97-ab5c-713c478e9e4c state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-12-11T18:54:59.321275782Z","hostname":"oxz_crucible_e6c1a482-0a9e-4de3-a288-389be088495a","pid":21935,"component":"datafile"}