Commit 47a72f18 authored by Iustin Pop's avatar Iustin Pop
Browse files

LURenameCluster: run post hook on all nodes

Since the cluster name might be used for various purposes on nodes, we
should let all nodes "know" about a cluster rename by running the post
hook on all nodes. This will make cluster rename slightly
slower/costlier, but it is not/shouldn't be an operation that is run
very often.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarOlivier Tharan <>
parent 1cd5bc89
......@@ -1843,7 +1843,8 @@ class LURenameCluster(LogicalUnit):
mn = self.cfg.GetMasterNode()
return env, [mn], [mn]
all_nodes = self.cfg.GetNodeList()
return env, [mn], all_nodes
def CheckPrereq(self):
"""Verify that the passed name is a valid one.
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