Commit bb2ee932 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix gnt-instance reinstall

Commit 1881 changed a rpc call but didn't fix all its users. This should
fix it (but I can't test as HTTP is broken).

Reviewed-by: imsnah
parent 8797df43
......@@ -2480,8 +2480,7 @@ class LUReinstallInstance(LogicalUnit):
_StartInstanceDisks(self, inst, None)
feedback_fn("Running the instance OS create scripts...")
if not self.rpc.call_instance_os_add(inst.primary_node, inst,
"sda", "sdb"):
if not self.rpc.call_instance_os_add(inst.primary_node, inst):
raise errors.OpExecError("Could not install OS for instance %s"
" on node %s" %
(, inst.primary_node))
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