1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/computes/templates
catborise a03f12aa5b fix(computes): maintenance read at the moment of the action; autostart named and refused
An audit of host maintenance found:
- refuse_start and refuse_new_vms trusted the compute as the page or job had
  read it: a clone started after its host went in maintenance during the disk
  copy, and a power-on raced the switch while host devices were checked. They
  now read the state from the database, and power-on checks right before the
  start; a VM defined from XML is refused as well.
- libvirt starts autostart VMs itself when the host boots. Autostart cannot
  be turned on for a VM of a host in maintenance, and the host page names the
  VMs that would start, so that their autostart is turned off before a reboot.
- The New VM dialog said "In maintenance" for a host whose maintenance was
  only requested: it now says "Maintenance".
- Tests now cover the owner's power-on, the revert job and a stale compute.
2026-11-16 22:53:42 +03:00
..
computes feat(computes): putting a host in maintenance migrates its VMs; ready once none runs 2026-11-16 17:04:06 +03:00
create_comp_block.html feat(computes): the Computes list on Bootstrap's cards, badges, bars and menus 2026-10-27 21:52:08 +03:00
overview.html fix(computes): maintenance read at the moment of the action; autostart named and refused 2026-11-16 22:53:42 +03:00