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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| fakes.py | ||
| test_api_security.py | ||
| test_audit_rows.py | ||
| test_balance.py | ||
| test_balance_js.py | ||
| test_bulk_migrate.py | ||
| test_bulk_migrate_js.py | ||
| test_capacity.py | ||
| test_changed_connection.py | ||
| test_compute_form.py | ||
| test_compute_password.py | ||
| test_cpu_graph.py | ||
| test_gstfsd_key.py | ||
| test_host_identity.py | ||
| test_host_nav.py | ||
| test_list_hosts.py | ||
| test_maintenance.py | ||
| test_migration_address.py | ||
| test_operation_locks.py | ||
| test_overview.py | ||
| test_overview_status.py | ||
| test_ownership.py | ||
| test_ownership_race.py | ||
| test_reach.py | ||
| test_reconciliation.py | ||
| test_unreachable_host_pages.py | ||
| test_validators.py | ||
| test_views.py | ||