mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 01:16:10 +00:00
After a host was emptied with Bulk Migrate for its maintenance, Balance proposed moving VMs back onto it, and new VMs and migrations could still be sent there. A superuser now puts a host in maintenance on its page (and takes it out), each change audited; the form names the state it sets, so a second page sent meanwhile does not turn it back. A host in maintenance (Compute.maintenance, refuse_new_vms): - takes no migration: migration_target refuses it, so the Migrate tab, Bulk Migrate, Balance and queued migrate jobs follow one rule; Bulk Migrate leaves it out of its destinations and its spread; - takes no new VM: the create and clone jobs refuse it when asked for and again before they start (the REST API submits the same jobs); the create pages and the XML define send the user back to the VM list, and the New VM dialog lists it without a link; - is left out of Balance: its VMs neither count nor move, and the Balance job refuses a move from it too, before each migration starts. Its VMs run on; a migration already started finishes. The Computes page and the host's page show that it is in maintenance. |
||
|---|---|---|
| .. | ||
| 0001_initial.py | ||
| 0002_auto_20200529_1320.py | ||
| 0003_auto_20200615_0637.py | ||
| 0004_compute_migration_address.py | ||
| 0005_alter_compute_hostname_alter_compute_login.py | ||
| 0006_login_password_length.py | ||
| 0007_gstfsd_key.py | ||
| 0008_migration_address_help.py | ||
| 0009_host_uuid.py | ||
| 0010_maintenance.py | ||
| __init__.py | ||