1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/computes
catborise bdc5569cc8 feat(instances): a VM a fault stopped or paused says why
libvirt gives each state its reason; the panel showed only the state, so a
VM QEMU paused because its storage filled up read "Suspended" like one an
administrator paused.

- instances.states.REASONS: the fault reasons told (disk error, watchdog,
  guest crash or kernel panic, a crash of the guest or its QEMU process,
  libvirt stopping it after a restart, failed post-copy migration, libvirt
  error, failed start); the ordinary ones (user, migration, snapshot) are not
- the lists read the reason with the state in their one getAllDomainStats
  call (get_domain_rows, get_domain_states: a change of reason reloads a
  list) and show it under the state badge
- the VM page reads state and reason in one virDomainGetState (a reason
  means something only with its own state) and tells it in an alert; a VM
  paused by a disk error names each disk and what it met
  (virDomainGetDiskErrors), and when a storage has no free space, what to
  do: an administrator frees space and resumes it. Disk errors are read
  only then: libvirt keeps the last one after a resume. The page's poll
  reloads on a change of reason too

Checked live on a Vagrant host: a guest filling a disk on a 40 MiB pool was
paused (I/O error, vda: no space); the page said so, and after the pool grew
and the VM was resumed the alert was gone.
2026-11-22 21:19:35 +03:00
..
api feat(migration): encrypt migrations over TLS between hosts that have it 2026-11-19 15:45:32 +03:00
migrations feat(migration): encrypt migrations over TLS between hosts that have it 2026-11-19 15:45:32 +03:00
templates fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
tests feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +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(i18n): form fields shown with their form's label are translated 2026-11-21 15:41:11 +03:00
jobs.py fix(jobs): a busy message names what the job in the way works on 2026-11-19 21:35:28 +03:00
models.py feat(migration): encrypt migrations over TLS between hosts that have it 2026-11-19 15:45:32 +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(computes): a VM that returns gets its protection, schedules and backups back 2026-11-20 08:17:23 +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(ui): a block or a job's cancel asks first; every delete and save says it is done 2026-11-21 21:02:20 +03:00