1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-01 00:16:04 +00:00
webvirtcloud/instances/tests
catborise 7dd68aaca4 fix(instances): a failed power cycle says the VM stays off; templates have no autostart
Power Cycle forced the VM off and, when the start failed, showed only
libvirt's error: the page now also says the VM was forced off and stays
off, and the audit row says so. A template kept the autostart it had as a
VM, so the host started it although the panel refuses to: marking a
template turns autostart off, and autostart is refused on a template. The
autostart switch is disabled, with the reason, on a template and on a VM
that exists only while it runs (libvirt refuses autostart there).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-11 15:17:59 +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): a VM with a saved state says so and can start without it 2026-11-11 15:17:59 +03:00
test_audit_rows.py chore: remove code nothing uses 2026-11-06 10:53:37 +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 dialog keeps the edit and defines only this VM 2026-10-24 20:03:20 +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): recovery removes the UEFI variables copy of a clone that was not defined 2026-11-07 23:58:50 +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 create whose definition answer was lost keeps the VM's disk 2026-11-11 10:30:54 +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(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41: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 new VM cannot take the MAC address of another VM on its host 2026-11-11 10:30:54 +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 create whose definition answer was lost keeps the VM's disk 2026-11-11 10:30:54 +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): a disk form loaded before the disk changed changes nothing 2026-11-11 12:55:34 +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(instances): a disk form loaded before the disk changed changes nothing 2026-11-11 12:55:34 +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(quota): a snapshot revert must fit the quota 2026-11-07 16:19:03 +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): the VM list survives a host that stops answering mid-request 2026-11-10 11:12:08 +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 refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +03:00
test_live_views.py fix(instances): a new VM's existing volume or template is taken from the chosen pool 2026-11-08 14:33:10 +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): memory, boot order and QoS edits check what they change first 2026-11-11 12:55:34 +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 resize keeps a VM's maximum vCPUs above the host's CPUs 2026-11-03 23:07:59 +03:00
test_root_pass.py fix(deps): libpass instead of crypt-r; gstfsd's python3-libguestfs on a RHEL compute; PyYAML for the tests 2026-11-07 17:52:35 +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 feat(instances): the Snapshots tab shows the VM's history as a line 2026-11-04 08:59:50 +03:00
test_states.py refactor(instances): the VM list calls refresh_instance_database itself 2026-11-08 12:15:33 +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): a failed power cycle says the VM stays off; templates have no autostart 2026-11-11 15:17:59 +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