Commit 4008c8ed authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

jqueue: Resume jobs from “waitlock” status

After an unclean restart of ganeti-masterd, jobs in the “waitlock” status can
be safely restarted. They hadn't modified the cluster yet.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarRené Nussbaumer <>
parent de9d02c7
......@@ -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