1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/instances
catborise b7c5f98ba5 fix(instances): a volume already named as a new VM's disk refuses the create
A new disk or template copy whose name a volume of its pool already had
made the job fail on it; recovery then took that volume for the job's own,
ended the job uncertain and kept its claims, so no VM could be created on
that compute until an admin resolved it. Recovery also took a volume of the
same name in any other pool for the job's, and one in a stopped pool for
nothing left.

The form, the API and the worker now refuse a name a volume of the disk's
pool already has, as they did for a template copy's .img only. Recovery
looks in the job's own pools; one that is not running cannot be listed, so
recovery waits for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-11 10:30:54 +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 fix(instances): a VM name of any length libvirt takes is kept 2026-11-10 13:11:22 +03:00
templates fix(logs): the VM page's Logs tab shows times as the Logs page does 2026-11-10 11:52:54 +03:00
templatetags chore: remove files nothing uses 2026-11-06 10:53:43 +03:00
tests fix(instances): a volume already named as a new VM's disk refuses the create 2026-11-11 10:30:54 +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 volume already named as a new VM's disk refuses the create 2026-11-11 10:30:54 +03:00
models.py fix(instances): a VM name of any length libvirt takes is kept 2026-11-10 13:11:22 +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 disk move or migration leaves one check on a stuck host 2026-11-10 13:48:14 +03:00
views.py fix(instances): the VM page's DRBD state does not rewrite the VM's record 2026-11-10 13:19:39 +03:00