1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/operations
catborise 6ca65e291a fix(operations): a host that does not answer keeps the job worker going for the others
A job's libvirt call to a host that is up but stuck waits as long as
the host does. Measured with the worker's loop: with two jobs stuck on
one host, the other host's jobs ran but their progress was never read
(both progress threads waited on the stuck host); with four stuck, a
new job of another host stayed queued, every slot taken; cancelling
them took all four control threads, so cancels, recovery and
housekeeping stopped for every host.

Now a host's jobs take at most half of the worker's slots (at least
one; a migration counts on both its hosts), and the next queued job of
another host starts instead. A host has at most one progress read and
one control task (a cancel or a recovery inspection) at a time, and
the control tasks of hosts leave one thread to housekeeping.
2026-11-03 07:23:42 +03:00
..
api feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
management feat(operations): the job worker 2026-10-14 23:27:57 +03:00
migrations feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
static/operations feat(operations): the job panel and job pages speak the page's language 2026-11-02 23:33:34 +03:00
templates/operations feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
templatetags feat(operations): the job panel and job pages speak the page's language 2026-11-02 23:33:34 +03:00
tests fix(operations): a host that does not answer keeps the job worker going for the others 2026-11-03 07:23:42 +03:00
__init__.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
apps.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
claims.py fix(instances): a clone takes a free name the form offers 2026-10-31 00:32:39 +03:00
jobs.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
models.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
urls.py feat(operations): jobs page 2026-10-14 23:27:57 +03:00
utils.py feat(vrtManager): the libvirt layer's messages show in the reader's language 2026-11-03 00:05:34 +03:00
views.py feat(operations): a job's error and warning show in the reader's language 2026-11-02 23:49:45 +03:00
worker.py fix(operations): a host that does not answer keeps the job worker going for the others 2026-11-03 07:23:42 +03:00