1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/vrtManager
catborise d20254f757 feat(computes): a host evacuates its chosen VMs to another host
The host's Instances page gets an Evacuate button. Its page lists the
host's VMs for a chosen destination: running ones ticked, shut-off ones
left to choose ("Also migrate the shut-off VMs"), and a VM with a disk
file the two hosts do not share refused with the reason, since it needs
a copy chosen on its own Migrate tab.

One "Evacuate host" job migrates them: a migrate job each (live with
auto converge; a shut-off VM offline), at most the chosen number at
once, so a VM that fails stays on the host and the rest go on. The
choice goes up to half the worker's slots, which a host's jobs may take,
less the evacuation's own. Cancelling it cancels the migrations that
run and starts no more. One evacuation runs at a time: it waits in a
worker slot, and several could leave none for their migrations. A VM
that left the host meanwhile is skipped (a migrate job takes the host it
is to leave from the evacuation and refuses another); a host whose record points
elsewhere since, or a worker lowered to one slot, stops it before the
next VM. A busy VM lets the others go first; one an uncertain job holds is
not waited for.

Migrations now hold the hosts' VM sets shared, so several migrate at
once; creates, clones, deletes and the VM list reconcile still wait for
them. A destination gone since the form was shown is refused, not
replaced by another. The uses of the NVRAM directory's pool take turns
(NVRAM_LOCK): two UEFI migrations at once would share a transient pool
that the first destroys under the second.
2026-11-15 18:04:00 +03:00
..
tests feat(computes): a host evacuates its chosen VMs to another host 2026-11-15 18:04:00 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
connection.py feat(computes): a host evacuates its chosen VMs to another host 2026-11-15 18:04:00 +03:00
create.py refactor(vrtManager): a shut-off VM clone copies its disks with clone_volume 2026-11-14 19:43:11 +03:00
hostdetails.py fix(computes): a VM that cannot be read leaves a host's capacity unknown 2026-11-13 16:38:42 +03:00
instance.py refactor(vrtManager): a shut-off VM clone copies its disks with clone_volume 2026-11-14 19:43:11 +03:00
interface.py fix(interfaces): the interface the panel reaches its host by is kept 2026-11-12 16:17:33 +03:00
libvirt-ssh fix(vrtManager): libvirt connections open within a time limit 2026-10-05 09:06:52 +03:00
network.py fix(networks): the XML editor does not overwrite a change made meanwhile 2026-11-12 13:30:09 +03:00
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
nwfilters.py fix(instances): a VM is not migrated to a host whose filters of its names differ 2026-11-13 11:46:01 +03:00
storage.py feat(storages): a volume downloads from its pool page 2026-11-15 00:31:42 +03:00
util.py fix(networks): the XML editor does not overwrite a change made meanwhile 2026-11-12 13:30:09 +03:00
virtsecrets.py fix(virtsecrets): a secret in use is not deleted by its UUID in capitals 2026-11-12 16:17:21 +03:00