1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/storages/tests
catborise aeef837afa feat(storages): the pool page tells which VMs use each volume
A volume left behind (a disk kept when its VM was deleted, an old image) was
not told apart from one a VM needs until its deletion was refused. The pool
page now has a "Used by" column: the VMs of this host whose disks, UEFI
variables, saved state or snapshots are the volume or are built on it, "In
use" for one only another volume is built on, else "Not used on this host";
buttons list each kind, and a VM's name finds its volumes. Its deletion still
asks the other hosts, as one sharing the storage may use it. When the host's
VMs cannot be read the page lists the volumes without the column.

The scan that refuses deleting a used volume now also counts a VM's UEFI
variables file and a snapshot's block device, and reads each VM once.
2026-11-20 08:29:33 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_audit_rows.py perf(storages): the pool page does not list the host's pools 2026-11-08 12:02:49 +03:00
test_download.py feat(storages): a volume downloads from its pool page 2026-11-15 00:31:42 +03:00
test_live_download.py feat(storages): a volume downloads from its pool page 2026-11-15 00:31:42 +03:00
test_live_pools.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_new_pool.py fix(virtsecrets): a secret in use is not deleted, and a password is stored as typed 2026-10-29 10:10:43 +03:00
test_pool_in_use.py fix(storages): a share or LVM pool a VM's disk path is in is not deleted 2026-11-13 10:41:03 +03:00
test_pool_page.py feat(storages): the pool page tells which VMs use each volume 2026-11-20 08:29:33 +03:00
test_pool_target.py fix(storages): a pool is not made of a system directory or of another pool's 2026-11-13 10:41:03 +03:00
test_sftp_pipelined.py feat(storages): an ISO upload is a job 2026-10-16 11:53:59 +03:00
test_ssh_pool.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
test_upload_job.py fix(jobs): a busy message names what the job in the way works on 2026-11-19 21:35:28 +03:00
test_views.py fix(storages): a volume another compute's VM uses on shared storage is not deleted 2026-11-13 10:41:18 +03:00
test_volume_clone_job.py refactor(vrtManager): a shut-off VM clone copies its disks with clone_volume 2026-11-14 19:43:11 +03:00