Commit aeb24d97 authored by Guido Trotter's avatar Guido Trotter
Browse files

Use --yes to deactivate master ip in cluster merge


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarAndrea Spadaccini <spadaccio@google.com>
parent a3fad332
...@@ -308,7 +308,7 @@ class Merger(object): ...@@ -308,7 +308,7 @@ class Merger(object):
""" """
for data in self.merger_data: for data in self.merger_data:
result = self._RunCmd(data.master_node, result = self._RunCmd(data.master_node,
"gnt-cluster deactivate-master-ip") "gnt-cluster deactivate-master-ip --yes")
if result.failed: if result.failed:
raise errors.RemoteError("Unable to remove master IP on %s." raise errors.RemoteError("Unable to remove master IP on %s."
......
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