1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/computes
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
..
api fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
migrations fix(computes): a host's maintenance shows only its own bulk migration; the panel's refusals are not libvirt errors 2026-11-16 20:30:54 +03:00
templates fix(computes): maintenance read at the moment of the action; autostart named and refused 2026-11-16 22:53:42 +03:00
tests fix(computes): maintenance read at the moment of the action; autostart named and refused 2026-11-16 22:53:42 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
apps.py fix: track migrations; installs apply them instead of generating them 2026-10-04 01:08:11 +03:00
balance.py feat(computes): Balance and the spread count each host's share of its size 2026-11-16 13:41:17 +03:00
forms.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
jobs.py fix(computes): a host's maintenance shows only its own bulk migration; the panel's refusals are not libvirt errors 2026-11-16 20:30:54 +03:00
models.py fix(computes): maintenance read at the moment of the action; autostart named and refused 2026-11-16 22:53:42 +03:00
reach.py feat(computes): Bulk Migrate spreads a host's VMs over the others; host checks asked once 2026-11-16 10:29:07 +03:00
urls.py feat(computes): a host in maintenance takes no new VM or migration 2026-11-16 15:56:01 +03:00
utils.py fix(admin): two administrators at once leave a superuser and one user per address 2026-11-13 14:54:51 +03:00
validators.py fix(computes): the compute forms save their own kind, a password as typed, and say when the host is not reached 2026-11-12 09:19:15 +03:00
views.py fix(computes): maintenance read at the moment of the action; autostart named and refused 2026-11-16 22:53:42 +03:00