1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/instances/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
..
js perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
__init__.py test: each app keeps its tests in a tests package 2026-10-12 15:17:30 +03:00
create_page.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_access_tab.py feat(instances): a VM's access in one strip, its console password kept to its rule 2026-10-30 20:39:40 +03:00
test_addresses.py feat(webvirtcloud): a request waiting on a host holds one thread, not a worker 2026-11-02 21:19:01 +03:00
test_api_parity.py fix(instances): an owner is shown no host files, in the API or on the delete page 2026-11-12 22:09:16 +03:00
test_audit_rows.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
test_bad_options.py fix(instances): a power on or delete option the form never sends is refused in words 2026-11-12 16:40:58 +03:00
test_change_network.py fix(instances): a network device keeps its source unless another is chosen 2026-10-31 18:10:05 +03:00
test_change_xml.py fix(instances): the XML editor and a VM defined from XML check its host devices 2026-11-11 22:58:34 +03:00
test_claim_after_permission.py fix(instances): a request refused by the permission check takes no claim 2026-11-05 18:08:03 +03:00
test_clone_disks.py feat(instances): VM clone runs as a job 2026-10-15 09:28:43 +03:00
test_clone_job.py fix(instances): a clone's recovery tells how to thaw a guest paused meanwhile 2026-11-13 08:44:05 +03:00
test_clone_permission.py fix(instances): the quota counts queued clones and pending values 2026-10-31 00:51:31 +03:00
test_cloud_init_create.py fix(instances): a VM of an architecture without firmware choices or PCI cards can be created 2026-11-12 15:21:48 +03:00
test_console_access.py test: test files named by their topic, one file per topic 2026-11-06 13:48:04 +03:00
test_console_settings.py fix(instances): a template's console settings cannot be changed by a POST 2026-11-09 13:53:51 +03:00
test_cpu_mode.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_create_dialog_cpu.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_create_form_input.py fix(instances): a VM of an architecture without firmware choices or PCI cards can be created 2026-11-12 15:21:48 +03:00
test_create_instance.py fix(instances): the Secure Boot machine type warning is in the user's language 2026-11-11 10:30:54 +03:00
test_create_job.py fix(instances): a VM of an architecture without firmware choices or PCI cards can be created 2026-11-12 15:21:48 +03:00
test_create_page_js.py fix(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
test_create_rollback.py fix(instances): a VM of an architecture without firmware choices or PCI cards can be created 2026-11-12 15:21:48 +03:00
test_create_wizard_url.py fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00
test_destroy.py fix(instances): an owner is shown no host files, in the API or on the delete page 2026-11-12 22:09:16 +03:00
test_detail_reads.py fix(instances): the VM page's DRBD state does not rewrite the VM's record 2026-11-10 13:19:39 +03:00
test_detail_unreachable.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_disk_isolation.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_disk_move_job.py fix(instances): a disk move or migration leaves one check on a stuck host 2026-11-10 13:48:14 +03:00
test_drbd_target.py fix(instances): a DRBD status the compute did not tell is Unknown, not None DRBD 2026-11-05 18:58:13 +03:00
test_duplicate_devices.py fix(instances): an ISO already in a CD-ROM of the VM is not added again 2026-11-05 18:58:13 +03:00
test_error_handling.py feat(instances): a VM's owners with their rights, and XML edits kept until saved 2026-10-30 17:02:38 +03:00
test_find_address.py feat(instances): the address search finds a VM by its MAC address too 2026-10-24 22:45:47 +03:00
test_find_address_js.py fix(instances): the address search shows host names as they are 2026-10-25 21:33:41 +03:00
test_gstfsd.py fix(gstfsd): at most 4 connections at a time; one more is told it is busy 2026-11-05 18:58:13 +03:00
test_host_busy.py fix(instances): a busy host is reported as busy, not as unreachable 2026-11-05 16:16:28 +03:00
test_host_devices.py fix(instances): the Host devices tab says when the host cannot give a VM's USB device 2026-11-11 22:58:34 +03:00
test_index.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_index_host_alerts.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_instance_tabs_js.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_list_rpc.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_list_unreachable.py fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00
test_live_clone.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_create.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_live_dataloss.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_live_guest.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_live_iscsi.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_live_jobs.py test(instances): the live create-from-template job names the template's pool 2026-11-10 16:39:42 +03:00
test_live_lvm.py fix(instances): a disk resize form grows the disk it showed 2026-11-12 22:09:34 +03:00
test_live_views.py fix(instances): a disk resize form grows the disk it showed 2026-11-12 22:09:34 +03:00
test_migrate_form.py feat(instances): a VM's migration in a route, a disk plan and its transfer settings 2026-10-30 14:55:57 +03:00
test_migrate_job.py fix(instances): a late cancel leaves a later job's migration or disk move alone 2026-11-09 16:34:20 +03:00
test_migration_bookkeeping.py refactor(instances): a migration merges owners with move_ownership 2026-11-08 12:20:17 +03:00
test_migration_log.py fix(migrate): a copied disk's source file is deleted only when no compute may use it 2026-11-07 22:51:25 +03:00
test_missing_fields.py fix(instances): the root password and SSH key a setting turns off are refused 2026-11-13 08:19:13 +03:00
test_moved_while_waiting.py feat(jobs): deleting a VM is a job that recovery finishes 2026-11-06 09:49:31 +03:00
test_new_disk_name.py refactor(instances): a new disk's name prefix comes from vol_dev_type 2026-11-08 12:24:18 +03:00
test_owner_race.py fix(instances): two owners added at once keep a VM to one owner 2026-10-31 00:21:06 +03:00
test_page_controls.py fix(instances): a failed power cycle says the VM stays off; templates have no autostart 2026-11-11 15:17:59 +03:00
test_paused_block.py fix(instances): an owner cannot power a VM an administrator paused 2026-10-26 13:49:37 +03:00
test_pci_slots.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_pending_edits.py fix(instances): a disk form loaded before the disk changed changes nothing 2026-11-11 12:55:34 +03:00
test_permissions.py test: test files named by their topic, one file per topic 2026-11-06 13:48:04 +03:00
test_quota.py test(quota): the concurrent resize test checks what happened to each request 2026-11-08 21:20:06 +03:00
test_resize_input.py fix(instances): a disk resize form grows the disk it showed 2026-11-12 22:09:34 +03:00
test_root_pass.py fix(instances): the root password and SSH key a setting turns off are refused 2026-11-13 08:19:13 +03:00
test_snapshot_delete_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_snapshot_jobs.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_snapshot_views.py fix(instances): an owner is shown no host files, in the API or on the delete page 2026-11-12 22:09:16 +03:00
test_states.py fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00
test_stats_sample.py fix(ui): host and VM charts give their points the panel's time 2026-11-10 11:57:43 +03:00
test_stats_tab.py feat(instances): a VM's stats in one grid, its logs a switch away 2026-10-30 23:41:17 +03:00
test_table_filter_js.py fix(templates): the list pages search their rows as text, with one script 2026-10-25 23:08:42 +03:00
test_templates.py fix(instances): a failed power cycle says the VM stays off; templates have no autostart 2026-11-11 15:17:59 +03:00
test_vm_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_vm_audit_rows.py fix(instances): the root password and SSH key a setting turns off are refused 2026-11-13 08:19:13 +03:00
test_vm_page_records.py fix(instances): the page of a VM removed outside the panel sends the user to the list 2026-11-05 18:08:03 +03:00
test_vm_report.py feat(instances): a report of every VM with its addresses and OS, as an Excel file 2026-10-24 22:30:07 +03:00
test_vm_states.py test: no test connects to a real host 2026-11-08 22:22:16 +03:00
test_xss.py test: classes that use no database are SimpleTestCase 2026-11-06 13:48:03 +03:00