1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00
webvirtcloud/instances/templates
catborise 22362de068 feat(computes): a host in maintenance takes no new VM or migration
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.
2026-11-16 15:56:01 +03:00
..
instances fix(instances): a console settings page opened before another change does not undo it 2026-11-13 22:49:23 +03:00
add_instance_cdrom.html feat(instances): a CD-ROM is added on the bus chosen, with its ISO 2026-11-01 16:27:39 +03:00
add_instance_network_block.html refactor(instances): the VM page's scripts load from static files 2026-11-02 09:04:29 +03:00
add_instance_owner_block.html feat(ui): the owner and VM lists of the ownership forms are searchable 2026-11-10 09:21:25 +03:00
add_instance_volume.html refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
allinstances.html fix(instances): an empty panel says what to do next 2026-11-07 16:50:24 +03:00
allinstances_index_grouped.html fix(instances): the VM list survives a host that stops answering mid-request 2026-11-10 11:12:08 +03:00
allinstances_index_nongrouped.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
create_flavors.html feat(templates): every confirmation asks in the page's own dialog 2026-10-31 20:44:39 +03:00
create_flavors_reply.html fix(instances): adding or deleting a flavor keeps the unfinished VM form 2026-10-24 11:12:07 +03:00
create_inst_block.html feat(computes): a host in maintenance takes no new VM or migration 2026-11-16 15:56:01 +03:00
create_instance_w1.html refactor(instances): the VM create pages' scripts load from static files 2026-11-02 09:26:39 +03:00
create_instance_w2.html refactor(instances): the VM create pages' scripts load from static files 2026-11-02 09:26:39 +03:00
create_presets.html fix(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
create_steps.html refactor(templates): Bootstrap's components instead of the panel's own CSS for capacity, steps and disclosures 2026-10-27 17:05:03 +03:00
instance.html fix(instances): the VM page says when its host stops answering 2026-11-10 11:12:21 +03:00
instance_actions.html refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
instance_name_cell.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
instance_state.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00