[ Nov 14 23:31:39 Enabled. ] [ Nov 14 23:31:39 Rereading configuration. ] [ Nov 14 23:31:41 Rereading configuration. ] [ Nov 14 23:31:43 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible ++ svcprop -c -p config/listen_addr svc:/oxide/crucible/agent:default + LISTEN_ADDR=fd00:1122:3344:101::18 ++ 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::18 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_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible -l '[fd00:1122:3344:101::18]:32345' -P 19000 -p downstairs -s snapshot note: configured to log to "/dev/stdout" {"msg":"dataset: \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.686971555Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328} {"msg":"listen IP: [fd00:1122:3344:101::18]:32345","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.688807826Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328} {"msg":"SMF instance name downstairs_prefix: \"downstairs\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:44.688817546Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328} {"msg":"listening","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:31:45.055673451Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.6442216Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:43635"} {"msg":"region caf35cc2-88f7-4154-8442-1b62e318cdd1 state: Requested","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.65206198Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.654331886Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"uri":"/crucible/0/regions","method":"POST","req_id":"2933e524-28ba-4361-ad39-1539bcd314b0","remote_addr":"[fd00:1122:3344:101::c]:43635","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":7337,"response_code":"200"} {"msg":"Region size:1073741824 reservation:1342177280 quota:3221225472","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.65555928Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"zfs set reservation of 1342177280 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.666059389Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"zfs set quota of 3221225472 for oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.666081929Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"creating region Region { id: RegionId(\"caf35cc2-88f7-4154-8442-1b62e318cdd1\"), 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/caf35cc2-88f7-4154-8442-1b62e318cdd1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.749229635Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"region":"caf35cc2-88f7-4154-8442-1b62e318cdd1","component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:43.823555111Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"uri":"/crucible/0/regions","method":"POST","req_id":"9f99b13d-2eeb-42a5-aa01-4c8b92268c64","remote_addr":"[fd00:1122:3344:101::c]:43635","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":99,"response_code":"200"} {"msg":"region files created ok","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.005586052Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"region":"caf35cc2-88f7-4154-8442-1b62e318cdd1","component":"worker"} {"msg":"region caf35cc2-88f7-4154-8442-1b62e318cdd1 state: Requested -> Created","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.005628672Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"datafile"} {"msg":"applying SMF actions post create...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.00575051Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"creating missing downstairs instance downstairs-caf35cc2-88f7-4154-8442-1b62e318cdd1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.006232269Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"ok, have svc:/oxide/crucible/downstairs:downstairs-caf35cc2-88f7-4154-8442-1b62e318cdd1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.010538298Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"creating config property group","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.020316009Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"reconfiguring svc:/oxide/crucible/downstairs:downstairs-caf35cc2-88f7-4154-8442-1b62e318cdd1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.02297598Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"ensure directory SCF_TYPE_ASTRING /data/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.023549076Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"ensure port SCF_TYPE_COUNT 19000","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.023628507Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"ensure address SCF_TYPE_ASTRING fd00:1122:3344:101::18","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.023670908Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"commit","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.023711802Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.027961506Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.036133859Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.202951588Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"uri":"/crucible/0/regions","method":"POST","req_id":"d4424b6a-9a26-46cc-912a-38d1e61f91a6","remote_addr":"[fd00:1122:3344:101::c]:43635","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":90,"response_code":"200"} {"msg":"accepted connection","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.62058993Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","remote_addr":"[fd00:1122:3344:101::c]:58648"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.620714891Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"uri":"/crucible/0/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1","method":"GET","req_id":"eeb6dd9d-2d08-4e5f-9658-78edda99fbca","remote_addr":"[fd00:1122:3344:101::c]:58648","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":95,"response_code":"200"} {"msg":"path is \"/data/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.620987824Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"datafile"} {"msg":"dataset is oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.63384762Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"datafile"} {"msg":"region caf35cc2-88f7-4154-8442-1b62e318cdd1 state: Created -> Tombstoned","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.644215069Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"datafile"} {"msg":"applying SMF actions before removal...","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.64437062Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.644427701Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"uri":"/crucible/0/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1","method":"DELETE","req_id":"94517bf6-09aa-4d02-8611-e139a65ae6c4","remote_addr":"[fd00:1122:3344:101::c]:58648","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":23524,"response_code":"204"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.644551272Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"uri":"/crucible/0/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1","method":"GET","req_id":"7b04b988-2c65-41cf-8057-9cdedbd2e32e","remote_addr":"[fd00:1122:3344:101::c]:58648","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":22,"response_code":"200"} {"msg":"disabling downstairs instance: downstairs-caf35cc2-88f7-4154-8442-1b62e318cdd1 (instance states: (Some(Online), None))","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.645455303Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"SMF ok!","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.649533679Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"worker"} {"msg":"deleting zfs dataset \"oxp_d462a7f7-b628-40fe-80ff-4e4189e2d62b/crucible/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1\"","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.661321523Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"region":"caf35cc2-88f7-4154-8442-1b62e318cdd1","component":"worker"} {"msg":"region caf35cc2-88f7-4154-8442-1b62e318cdd1 state: Tombstoned -> Destroyed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.745651043Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"component":"datafile"} {"msg":"request completed","v":0,"name":"crucible-agent","level":30,"time":"2023-11-14T23:32:44.763487656Z","hostname":"oxz_crucible_ce48495d-1585-4203-92ac-dfca4edc6612","pid":21328,"uri":"/crucible/0/regions/caf35cc2-88f7-4154-8442-1b62e318cdd1","method":"GET","req_id":"dd84071d-6580-4986-a066-f1415f967680","remote_addr":"[fd00:1122:3344:101::c]:58648","local_addr":"[fd00:1122:3344:101::18]:32345","component":"dropshot","latency_us":102,"response_code":"200"}