mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
After a worker restart, recovery watches a migration or disk move that libvirt still runs and sends a cancel asked meanwhile to the job's hook. It ran inline in the inspection. The hook waits until libvirt's job runs or the panel's job ends; when libvirt finished just after the inspection saw it run, only the next inspection could record the end, so the job stayed cancelling for good and held its host's control slot. The hook now runs in a thread of its own, and the next inspection ends the job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea |
||
|---|---|---|
| .. | ||
| api | ||
| management | ||
| migrations | ||
| static/operations | ||
| templates/operations | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| apps.py | ||
| claims.py | ||
| jobs.py | ||
| models.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||
| worker.py | ||