Commit cb3ac71c authored by Petr Pudlak's avatar Petr Pudlak
Browse files

Fix configuration calls for LUInstanceStartup

Re-read the instance in-memory objects from WConfd after calls that
change its state.
Signed-off-by: default avatarPetr Pudlak <>
Reviewed-by: default avatarKlaus Aehlig <>
parent d9adac23
......@@ -154,13 +154,14 @@ class LUInstanceStartup(LogicalUnit):
if not self.op.no_remember:
self.instance = self.cfg.MarkInstanceUp(self.instance.uuid)
if self.primary_offline:
assert self.op.ignore_offline_nodes
self.LogInfo("Primary node offline, marked instance as started")
StartInstanceDisks(self, self.instance, self.op.force)
self.instance = self.cfg.GetInstanceInfo(self.instance.uuid)
result = \
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