Commit cb4d3314 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

masterd: Initialize job queue only after RPC client

Otherwise jobs started after an unclean master shutdown will fail as
they depend on the RPC client.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 5483fd73
......@@ -468,12 +468,12 @@ class GanetiContext(object):
# Job queue
self.jobqueue = jqueue.JobQueue(self)
# RPC runner
self.rpc = rpc.RpcRunner(self)
# Job queue
self.jobqueue = jqueue.JobQueue(self)
# setting this also locks the class against attribute modifications
self.__class__._instance = self
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