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. |
||
|---|---|---|
| .. | ||
| instances | ||
| add_instance_cdrom.html | ||
| add_instance_network_block.html | ||
| add_instance_owner_block.html | ||
| add_instance_volume.html | ||
| allinstances.html | ||
| allinstances_index_grouped.html | ||
| allinstances_index_nongrouped.html | ||
| create_flavors.html | ||
| create_flavors_reply.html | ||
| create_inst_block.html | ||
| create_instance_w1.html | ||
| create_instance_w2.html | ||
| create_presets.html | ||
| create_steps.html | ||
| instance.html | ||
| instance_actions.html | ||
| instance_name_cell.html | ||
| instance_state.html | ||