mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-01 00:16:04 +00:00
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 |
||
|---|---|---|
| .. | ||
| api | ||
| migrations | ||
| templates | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| addresses.py | ||
| apps.py | ||
| forms.py | ||
| jobs.py | ||
| models.py | ||
| report.py | ||
| states.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||