1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-01 08:26:03 +00:00
webvirtcloud/instances
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 perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
migrations refactor: the API's serializers and the new VM form no longer need models 2026-11-06 13:46:27 +03:00
templates fix(instances): the VM list survives a host that stops answering mid-request 2026-11-10 11:12:08 +03:00
templatetags chore: remove files nothing uses 2026-11-06 10:53:43 +03:00
tests fix(instances): the VM list survives a host that stops answering mid-request 2026-11-10 11:12:08 +03:00
__init__.py chore: remove code nothing uses 2026-11-06 10:53:37 +03:00
addresses.py feat(webvirtcloud): a request waiting on a host holds one thread, not a worker 2026-11-02 21:19:01 +03:00
apps.py format python code with black 2022-11-02 08:54:35 +03:00
forms.py fix(instances): a new VM's existing volume or template is taken from the chosen pool 2026-11-08 14:33:10 +03:00
jobs.py fix(instances): a late cancel leaves a later job's migration or disk move alone 2026-11-09 16:34:20 +03:00
models.py refactor: the API's serializers and the new VM form no longer need models 2026-11-06 13:46:27 +03:00
report.py perf: the Logs and VM report downloads are written row by row 2026-11-05 18:58:13 +03:00
states.py feat(instances): the Power tab shows the VM's state and where each action takes it 2026-11-03 19:22:52 +03:00
urls.py perf(instances): a VM page does not wait for the guest agent's addresses 2026-11-07 15:42:49 +03:00
utils.py fix(instances): a VM delete waits at most 60 s for another host's disk check 2026-11-09 16:34:06 +03:00
views.py fix(instances): the VM list survives a host that stops answering mid-request 2026-11-10 11:12:08 +03:00