1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/instances/templates
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
..
instances fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +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 feat(computes): a host's Instances page is the VM list of its VMs 2026-11-21 20:34:51 +03:00
allinstances_index_grouped.html fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
allinstances_index_nongrouped.html feat(computes): a host's Instances page is the VM list of its VMs 2026-11-21 20:34:51 +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 fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
create_instance_w1.html fix(ui): a form being sent shows it on its button 2026-11-21 21:31:21 +03:00
create_instance_w2.html fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +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 feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +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(tags): smaller tag badges, three on the VM list 2026-11-18 23:31:55 +03:00
instance_state.html feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00