1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00
webvirtcloud/vrtManager/tests
catborise 1f9347e148 fix(instances): a new VM and each clone get a VNC password of their own
Since the VM create became a job (6f0c7300) every new VM was defined with
no VNC password, and a clone copied its source's password (or its lack
of one) exactly: every clone of a template shared it. Computes listen
for VNC on all their addresses (dev/libvirt-bootstrap.sh), so anyone who
could reach a compute's VNC ports opened any of these consoles directly,
without the panel; the README's firewall rule was the only guard.

The create job asks for create.py's random 8-character password again,
and a clone's VNC graphics get a new random one. The console page sends
the password to a user with passwordless_console, which the user create
form now ticks by default next to change_password; a user without it is
asked for the password, as the permission intends. Existing VMs keep
their settings.

Live create, clone and VM page tests pass on a TCP compute.
2026-11-06 20:00:43 +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 test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +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 test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_change_network.py test: remove code no test run executes 2026-11-06 13:48:03 +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 test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_connection_threads.py test: remove code no test run executes 2026-11-06 13:48:03 +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 test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_device_edits.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_disk_copy_migration.py test: remove code no test run executes 2026-11-06 13:48:03 +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 test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_host_devices.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_host_reads.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_instance_getters.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_interface_addresses.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_interface_delete.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_interface_reads.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_interface_xml.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_iso_media.py test: remove code no test run executes 2026-11-06 13:48:03 +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_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 test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_network.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +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 test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_nwfilters.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +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 test: remove code no test run executes 2026-11-06 13:48:03 +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_read_cache.py test: remove code no test run executes 2026-11-06 13:48:03 +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_disk.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_rwlock.py test: the read-write lock tests check who may take the lock 2026-11-06 13:48:03 +03:00
test_secrets.py test: each test is in the tests package of the code it tests 2026-11-06 13:48:04 +03:00
test_usage.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_util.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_volume_in_use.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_xml_safety.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00
test_xpath_values.py test: remove code no test run executes 2026-11-06 13:48:03 +03:00