1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 09:26:03 +00:00
webvirtcloud/storages/tests
catborise fb3b2f479e fix(storages): a share or LVM pool a VM's disk path is in is not deleted
Deleting a pool was refused only while a VM's definition named the pool
for a disk; a disk given by its file path was taken not to need it. That
holds for a directory pool, but a share's or a file system's pool mounts
the path and an LVM pool activates it: with the pool deleted, the path is
gone at the next boot and the VM no longer starts (seen live with an NFS
pool). Such a disk now refuses the delete too: a path under the pool's
mount point, or an LVM volume by its /dev/<group> or /dev/mapper name.
iSCSI and disk pools share their device directories with other pools and
are left as they were.

A pool libvirt reports as inaccessible (state 4: running, its storage out
of reach) made the pool page fail with an IndexError; it now shows an
Inaccessible badge.
2026-11-13 10:41:03 +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_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 perf(storages): the pool page does not list the host's pools 2026-11-08 12:02:49 +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 feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
test_views.py fix(api): an error's status says what it is, and its body is always {"detail"} 2026-11-07 13:29:46 +03:00
test_volume_clone_job.py fix(storages): a volume a running VM uses is not cloned 2026-11-07 23:56:04 +03:00