1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/computes
catborise d96fe940e9 feat(computes): putting a host in maintenance migrates its VMs; ready once none runs
A host was put in maintenance with its VMs still on it, and emptying it was
a separate step. "Put in maintenance" on a host with VMs that run now opens
Bulk Migrate, whose button migrates the chosen VMs and puts the host in
maintenance in one transaction: with the job admitted, or not at all; a
form sent again finds its job and does not put back a host taken out of
maintenance since. The page also puts it in maintenance without migrating,
for VMs that cannot move or when no host can take them.

Maintenance is not refused while VMs run: it must be on before they move,
or a new VM or Balance could take their place. The host shows instead
whether it is ready: "Maintenance requested" while VMs other than shut-off
ones remain on it (or it cannot be read), with its bulk migration's state;
"In maintenance" once none does. None of its VMs starts or resumes there
meanwhile. Ending maintenance during the bulk migration lets it go on.
2026-11-16 17:04:06 +03:00
..
api fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
migrations feat(computes): a host in maintenance takes no new VM or migration 2026-11-16 15:56:01 +03:00
templates feat(computes): putting a host in maintenance migrates its VMs; ready once none runs 2026-11-16 17:04:06 +03:00
tests feat(computes): putting a host in maintenance migrates its VMs; ready once none runs 2026-11-16 17:04:06 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
apps.py fix: track migrations; installs apply them instead of generating them 2026-10-04 01:08:11 +03:00
balance.py feat(computes): Balance and the spread count each host's share of its size 2026-11-16 13:41:17 +03:00
forms.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
jobs.py feat(computes): putting a host in maintenance migrates its VMs; ready once none runs 2026-11-16 17:04:06 +03:00
models.py feat(computes): putting a host in maintenance migrates its VMs; ready once none runs 2026-11-16 17:04:06 +03:00
reach.py feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once 2026-11-16 10:29:07 +03:00
urls.py feat(computes): a host in maintenance takes no new VM or migration 2026-11-16 15:56:01 +03:00
utils.py fix(admin): two administrators at once leave a superuser and one user per address 2026-11-13 14:54:51 +03:00
validators.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
views.py feat(computes): putting a host in maintenance migrates its VMs; ready once none runs 2026-11-16 17:04:06 +03:00