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

Fix configuration calls for LUBackupExport



Re-read the instance in-memory objects from WConfd after calls that
change its state.
Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent 5a20e569
......@@ -316,6 +316,7 @@ class LUBackupExport(LogicalUnit):
# Activate the instance disks if we're exporting a stopped instance
feedback_fn("Activating disks for %s" % self.instance.name)
StartInstanceDisks(self, self.instance, None)
self.instance = self.cfg.GetInstanceInfo(self.instance.uuid)
try:
helper = masterd.instance.ExportInstanceHelper(self, feedback_fn,
......
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