mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +00:00
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. |
||
|---|---|---|
| .. | ||
| computes | ||
| create_comp_block.html | ||
| overview.html | ||