1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/instances
catborise 8197e645f9 fix(instances): a VM delete waits at most 60 s for another host's disk check
Deleting a VM with its disks first asks the other computes whether they
use its files. A host that is connected but does not answer (a hung NFS
mount under a pool) held the delete job for good, and with it a slot of
the worker: a few such deletes could fill the pool and stop the jobs of
healthy hosts. The check now waits USED_CHECK_WAIT, as the disk move and
migration checks do; a host that does not answer in time stops the
delete before anything changes, naming the host. Until it answers the
earlier check, a retried delete is refused at once instead of asking it
again, so the calls waiting on it do not pile up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-09 16:34:06 +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(i18n): chart series and the preset announcement in the page's language 2026-11-09 14:41:48 +03:00
templatetags chore: remove files nothing uses 2026-11-06 10:53:43 +03:00
tests fix(instances): a VM delete waits at most 60 s for another host's disk check 2026-11-09 16:34:06 +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(vrtManager): a template's copy takes qcow2's options only as qcow2 2026-11-08 14:35:19 +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): a template's console settings cannot be changed by a POST 2026-11-09 13:53:51 +03:00