1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/vrtManager/tests
catborise 143a74b145 fix(storages): a volume another compute's VM uses on shared storage is not deleted
A pool on shared storage (an NFS share, or a directory mounted from one)
holds the same file at the same path on every host that mounts it. A
VM's delete checks the panel's other computes before it deletes its disk
files, but the pool page, its API and a VM's disk delete checked only
their own host: a disk of a VM on another compute could be deleted. They
now ask the other computes too, and refuse while one uses the file or
cannot be reached. The other computes are asked before this host's lock
is taken, and before a VM's disk is detached.
2026-11-13 10:41:18 +03:00
..
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
driver.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
fakes.py fix(instances): a VM is not migrated to a host without its secrets 2026-11-12 16:17:21 +03:00
livetest.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_agent_access.py fix(instances): power off does not wait a minute for a guest agent that hangs 2026-11-13 08:44:03 +03:00
test_change_network.py fix(instances): a VM's network cards name networks and filters its host has 2026-11-12 13:25:30 +03:00
test_clone_console.py fix(instances): a new VM and each clone get a VNC password of their own 2026-11-06 20:00:43 +03:00
test_clone_nvram.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_cloud_init_seed.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_connection.py fix(computes): a changed compute does not use or list its old host 2026-11-12 09:19:03 +03:00
test_connection_threads.py test(connection): the thread tests wait for the opens they started 2026-11-08 22:38:07 +03:00
test_console_setters.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_create.py fix(vrtManager): a new VM's disk path, network and filter names are XML text 2026-11-08 14:42:47 +03:00
test_device_edits.py fix(instances): a VM's network cards name networks and filters its host has 2026-11-12 13:25:30 +03:00
test_disk_copy_migration.py fix(migrate): recovery removes the disk copies of a migration whose worker stopped 2026-11-07 23:10:19 +03:00
test_disk_move.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_external_snapshots.py fix(vrtManager): a disk in an inactive pool keeps the files it may be made from 2026-11-11 15:21:49 +03:00
test_host_devices.py fix(instances): USB device changes as PCI ones; device refusals name no VM to owners 2026-11-11 22:58:40 +03:00
test_host_reads.py fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
test_instance_getters.py fix(quota): a disk whose size is unknown is not counted as 0 GiB 2026-11-07 16:19:12 +03:00
test_interface_addresses.py perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
test_interface_delete.py fix(interfaces): the interface the panel reaches its host by is kept 2026-11-12 16:17:33 +03:00
test_interface_reads.py fix(interfaces): the interface the panel reaches its host by is kept 2026-11-12 16:17:33 +03:00
test_interface_xml.py fix(interfaces): the interface the panel reaches its host by is kept 2026-11-12 16:17:33 +03:00
test_iso_media.py fix(vrtManager): an ISO put in a host CD-ROM drive is read 2026-11-08 14:40:26 +03:00
test_live_clone.py fix(instances): recovery removes the UEFI variables copy of a clone that was not defined 2026-11-07 23:58:50 +03:00
test_live_connection.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_disk_resize.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_iso.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_nvram.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_snapshots.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_xml.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_xml_effects.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_migration.py fix(instances): a VM is not migrated to a host without its secrets 2026-11-12 16:17:21 +03:00
test_network.py fix(networks): the XML editor does not overwrite a change made meanwhile 2026-11-12 13:30:09 +03:00
test_network_ip.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_nodedevs.py fix(instances): USB device changes as PCI ones; device refusals name no VM to owners 2026-11-11 22:58:40 +03:00
test_nwfilters.py fix(networks): the XML editor does not overwrite a change made meanwhile 2026-11-12 13:30:09 +03:00
test_pci_rules.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_persistent_edits.py fix(instances): a VM's network cards name networks and filters its host has 2026-11-12 13:25:30 +03:00
test_pool_xml.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_rbd_disk.py fix(vrtManager): an RBD disk takes its pool's auth and monitors as they are 2026-11-08 14:42:20 +03:00
test_read_cache.py fix(quota): a disk whose size is unknown is not counted as 0 GiB 2026-11-07 16:19:12 +03:00
test_remove_nvram.py feat(instances): migrate a VM with its disks copied into pools of the destination 2026-10-29 19:46:31 +03:00
test_resize_cpu.py fix(instances): a refused vCPU resize keeps the VM's vCPU hotplug 2026-11-11 12:55:34 +03:00
test_resize_disk.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_secrets.py fix(virtsecrets): a secret in use is not deleted by its UUID in capitals 2026-11-12 16:17:21 +03:00
test_usage.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_util.py refactor(vrtManager): new VM UUIDs come from uuid.uuid4() 2026-11-08 12:24:47 +03:00
test_volume_in_use.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_xml.py fix(vrtManager): a template's copy takes qcow2's options only as qcow2 2026-11-08 14:35:19 +03:00
test_xml_safety.py test(snapshots): check the call that creates a snapshot, not a wrapper of it 2026-11-08 20:50:05 +03:00
test_xpath_values.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00