LURenameCluster: run post hook on all nodes
authorIustin Pop <iustin@google.com>
Tue, 5 Jan 2010 09:19:47 +0000 (10:19 +0100)
committerIustin Pop <iustin@google.com>
Tue, 5 Jan 2010 12:39:15 +0000 (13:39 +0100)
commit47a72f18a883c6b9b9df8dd1f97ac371cc057c3d
treea32f23262151380d40fe6edb5d2ac155bcfb171f
parent1cd5bc89b49388a0abacc44649601108f1230961
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: Iustin Pop <iustin@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
lib/cmdlib.py