mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 11:16:47 +00:00
Migration needs the VM's disks on storage both hosts reach, and nothing checked that. A VM with a disk the destination did not have failed during a live migration; a shut-off VM's definition moved and could not start there. moveto now refuses the migration before anything changes, naming each disk (target and source) that is not a volume of the destination's active storage pools. Checked: the disks, CD-ROM images and block devices of the live and the persistent definition, pool volumes, and backing files, as the definition or the destination's volume lists them (a shut-off VM's definition does not). Pools are refreshed before a disk counts as missing, so a file another host made on shared storage is found. Network disks and network backing images are reached the same way from every host and are not checked; disk types that cannot be checked (dir, nvme, ...) are refused. This checks that the destination knows a volume, not that it is the same file: shared storage should be a storage pool on each host. A shared file outside any pool, or a block device no pool covers, is refused. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| connection.py | ||
| create.py | ||
| hostdetails.py | ||
| instance.py | ||
| interface.py | ||
| libvirt-ssh | ||
| network.py | ||
| nwfilters.py | ||
| rwlock.py | ||
| storage.py | ||
| test_change_network.py | ||
| test_connection.py | ||
| test_console_setters.py | ||
| test_iso_media.py | ||
| test_live_connection.py | ||
| test_migration.py | ||
| test_network_ip.py | ||
| test_persistent_edits.py | ||
| test_read_cache.py | ||
| test_resize_disk.py | ||
| test_rwlock.py | ||
| test_usage.py | ||
| test_util.py | ||
| test_xml_safety.py | ||
| test_xpath_values.py | ||
| util.py | ||
| virtsecrets.py | ||