1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/operations
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
..
api fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
management feat(operations): the job worker 2026-10-14 23:27:57 +03:00
migrations fix(logs): a job's rows carry the address it was asked from, and a cancel its own user 2026-11-07 14:36:44 +03:00
static/operations fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
templates/operations fix(ui): the Logs and Jobs page links fit a phone screen 2026-11-10 09:05:01 +03:00
templatetags feat(operations): the job panel and job pages speak the page's language 2026-11-02 23:33:34 +03:00
tests fix(instances): USB device changes as PCI ones; device refusals name no VM to owners 2026-11-11 22:58:40 +03:00
__init__.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
apps.py refactor(settings): SQLite's WAL mode is an init_command 2026-11-06 11:01:51 +03:00
claims.py feat(computes): a host evacuates its chosen VMs to another host 2026-11-15 18:04:00 +03:00
jobs.py fix(logs): a job's rows carry the address it was asked from, and a cancel its own user 2026-11-07 14:36:44 +03:00
models.py fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
urls.py feat(operations): jobs page 2026-10-14 23:27:57 +03:00
utils.py fix(instances): USB device changes as PCI ones; device refusals name no VM to owners 2026-11-11 22:58:40 +03:00
views.py fix: worker warnings and CPU windows do not depend on a wall clock 2026-11-10 12:21:36 +03:00
worker.py fix(operations): a housekeeping pass is not started while one runs 2026-11-10 13:48:14 +03:00