Commit 53991408 authored by Stephen Shirley's avatar Stephen Shirley Committed by Iustin Pop
Browse files

Use gnt-node add --force-join to add foreign nodes


Signed-off-by: default avatarStephen Shirley <diamond@google.com>
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 61413377
......@@ -335,7 +335,7 @@ class Merger(object):
for data in self.merger_data:
for node in data.nodes:
result = utils.RunCmd(["gnt-node", "add", "--readd",
"--no-ssh-key-check", node])
"--no-ssh-key-check", "--force-join", node])
if result.failed:
raise errors.CommandError("Couldn't readd node %s. Fail reason: %s;"
" output: %s" % (node, result.fail_reason,
......
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