Commit 88a32957 authored by Iustin Pop's avatar Iustin Pop
Browse files

Cluster rename: skip offline nodes

This only tries to upload the ssh_known_hosts_file to the online nodes,
eliminating a timeout and warning for offline nodes.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent f6ffab5a
......@@ -2548,7 +2548,7 @@ class LURenameCluster(LogicalUnit):
# update the known hosts file
ssh.WriteKnownHostsFile(self.cfg, constants.SSH_KNOWN_HOSTS_FILE)
node_list = self.cfg.GetNodeList()
node_list = self.cfg.GetOnlineNodeList()
except ValueError:
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