1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/computes
catborise 6cdda6d4f3 fix(instances): the VM list survives a host that stops answering mid-request
The VM list reads each reachable host's CPUs and memory while it renders,
after it has found the host reachable. When the network to a host
dropped during that request, libvirt's keepalive closed the connection
in between, and the read raised: the whole list became the 500 error
page after about 40 s. Only the next load showed the host as down.

The host's CPU, memory and memory-use reads now give None for a host
that stopped answering; the list leaves its numbers out and the New VM
dialog does not offer it. Checked on compute1 with its libvirt port
dropped mid-request: the list answers 200.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-10 11:12:08 +03:00
..
api fix(gstfsd): only the panel, with the host's key, can change a VM's disk 2026-10-31 01:53:43 +03:00
migrations fix(computes): a VM migrates to its host's panel address when it has no migration address 2026-11-01 18:41:07 +03:00
templates fix(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
tests test: no test connects to a real host 2026-11-08 22:22:16 +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
forms.py feat(computes): the host form names its connection and folds the advanced fields 2026-10-31 18:10:05 +03:00
models.py fix(instances): the VM list survives a host that stops answering mid-request 2026-11-10 11:12:08 +03:00
urls.py fix(storages): a refused new volume comes back in its dialog 2026-10-31 18:35:09 +03:00
utils.py refactor(instances): a migration merges owners with move_ownership 2026-11-08 12:20:17 +03:00
validators.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
views.py refactor(vrtManager): remove the wvmConnect.close() that did nothing 2026-11-08 12:19:29 +03:00