Commit 5ef699a0 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Revert "jqueue: Resume jobs from “waitlock” status"

This reverts commit 4008c8ed


While it worked in my initial tests, I've now found cases where this doesn't
work properly as it is. More work is needed and will be done as part of the
Ganeti 2.3 job queue changes.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent a6d350cc
......@@ -945,11 +945,11 @@ class JobQueue(object):
status = job.CalcStatus()
if status in (constants.JOB_STATUS_QUEUED,
if status in (constants.JOB_STATUS_QUEUED, ):
self._wpool.AddTask((job, ))
elif status in (constants.JOB_STATUS_RUNNING,
logging.warning("Unfinished job %s found: %s",, job)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment