1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/static/js
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
..
ace chore(deps): patch and minor updates of pinned and vendored libraries 2026-11-07 18:14:59 +03:00
novnc chore: remove files nothing uses 2026-11-06 10:53:43 +03:00
xterm build: xterm 6.0.0 for the serial console 2026-10-17 16:09:50 +03:00
back_links.js refactor(templates): the shared page scripts load from static files 2026-11-02 08:47:58 +03:00
balance.js fix(computes): the Balance page shows each host's load as bars 2026-11-16 08:11:47 +03:00
bootstrap.bundle.min.js build(deps): Bootstrap and Bootswatch 5.3.8 2026-10-12 08:44:31 +03:00
bootstrap.bundle.min.js.map build(deps): Bootstrap and Bootswatch 5.3.8 2026-10-12 08:44:31 +03:00
bulk_migrate.js fix(tags): second audit: unchanged saves, report, other lists, hosts list 2026-11-18 23:15:34 +03:00
bulk_power.js fix(ui): a form being sent shows it on its button 2026-11-21 21:31:21 +03:00
chart.umd.min.js chore(deps): patch and minor updates of pinned and vendored libraries 2026-11-07 18:14:59 +03:00
charts.js fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
choice_dialog.js feat(networks): the network pages on Bootstrap's cards, tables and dialogs 2026-10-29 10:09:27 +03:00
confirm_dialog.js 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
console_keys.js fix(console): a held key let go on the keyboard is let go in the VM 2026-10-27 12:30:42 +03:00
console_layouts.js feat(console): typed text follows the VM's keyboard layout 2026-10-27 12:23:32 +03:00
console_serial.js fix(console): a console the server closes says Connection lost, not Disconnected 2026-11-10 19:01:21 +03:00
console_vnc.js fix(console): a console the server closes says Connection lost, not Disconnected 2026-11-10 19:01:21 +03:00
console_window.js refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
create_instance.js fix(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
create_machine.js fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00
error_focus.js fix(logs): failures name their job, VM and user; the new VM form shows a list it could not load 2026-11-06 23:48:44 +03:00
filter_form.js fix(ui): lists say they are empty plainly, filter by themselves and fit a phone 2026-11-21 20:34:51 +03:00
find_address.js fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
host_graphs.js fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
host_groups.js refactor(instances): the VM lists' scripts load from static files 2026-11-02 09:35:07 +03:00
instance_page.js fix(ui): a host's pages on a phone: one row of sections, tables that fit 2026-11-22 14:59:17 +03:00
instance_stats.js fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
instance_status.js feat(instances): a VM a fault stopped or paused says why 2026-11-22 21:19:35 +03:00
instance_tabs.js feat(instances): the top of a VM's page in one card 2026-10-29 22:46:24 +03:00
interface_dialog.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
jquery.js build: jQuery 4.0.0 2026-10-17 12:40:56 +03:00
login_form.js fix(ui): a form being sent shows it on its button 2026-11-21 21:31:21 +03:00
navbar_height.js fix(ui): the settings index stays at hand on a phone; one wording in Turkish 2026-11-22 16:43:34 +03:00
network_dialog.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
network_page.js fix(networks): a fixed address has a host name, a host address and is changed as shown 2026-11-12 13:25:30 +03:00
new_vm_dialog.js fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
nwfilter_page.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
nwfilters_page.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
otp_qr.js fix(ui): pages have a main heading, a skip link and labelled search boxes 2026-11-21 15:16:49 +03:00
poll.js fix(accounts): a page whose session ended says so; a form sent then is not lost in a 405 2026-11-21 23:48:34 +03:00
pool_dialog.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
scroll_rows.js fix(ui): a host's pages on a phone: one row of sections, tables that fit 2026-11-22 14:59:17 +03:00
searchable_select.js fix(ui): pages have a main heading, a skip link and labelled search boxes 2026-11-21 15:16:49 +03:00
secrets_page.js refactor(templates): the host pages' scripts load from static files 2026-11-02 09:45:26 +03:00
session_end.js fix(accounts): a page whose session ended says so; a form sent then is not lost in a 405 2026-11-21 23:48:34 +03:00
socket.io.js build: socket.io client 4.8.4 2026-10-16 22:42:30 +03:00
sort_tables.js feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
storage_page.js fix(storages): an ISO chunk answered with an HTML page is not counted as stored 2026-11-09 14:41:48 +03:00
submit_busy.js fix(ui): a form being sent shows it on its button 2026-11-21 21:31:21 +03:00
table_filter.js feat(ui): what a job, a tag or a backup names links to its page 2026-11-21 23:22:09 +03:00
tablesort.min.js feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
tablesort.number.min.js feat(tables): tables sort with tablesort, the grouped VM list within each host 2026-10-24 19:02:51 +03:00
tom-select.complete.min.js build: Tom Select replaces bootstrap-multiselect 2026-10-16 23:25:15 +03:00
user_form.js style(admin): the user form asks who, what role, what quota, then what more 2026-11-04 22:33:07 +03:00
vm_addresses.js perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
vm_states.js fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00
vm_states_start.js fix(instances): a VM list notices a change made while the page was read 2026-11-11 15:17:59 +03:00
xml_editor.js fix(accounts): a page whose session ended says so; a form sent then is not lost in a 405 2026-11-21 23:48:34 +03:00