Commit 08390b40 authored by Petr Pudlak's avatar Petr Pudlak
Browse files

Fix configuration calls for LUInstanceReinstall



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 3a5c2c0e
......@@ -383,6 +383,7 @@ class LUInstanceReinstall(LogicalUnit):
" instance's configuration, nothing to install")
else:
StartInstanceDisks(self, self.instance, None)
self.instance = self.cfg.GetInstanceInfo(self.instance.uuid)
try:
if os_image:
ImageDisks(self, self.instance, os_image)
......
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