Fix cluster-merging by not stopping noded
authorStephen Shirley <diamond@google.com>
Thu, 10 Feb 2011 10:52:13 +0000 (11:52 +0100)
committerIustin Pop <iustin@google.com>
Mon, 14 Feb 2011 11:18:16 +0000 (12:18 +0100)
commit9c03a67af73b1b080beed39b58d3e6e9460603f4
treefcb1149cf7f480ebd4dfd4bcf853f0d599b348f2
parent11dcce874ed6299ccc6c651beffcec8d5dd3ddc0
Fix cluster-merging by not stopping noded

cli.RunWhileClusterStopped() stops noded on all of the nodes in the
original cluster. This prevents /etc/hosts updates on the master, and
config redistribution doesn't reach the other nodes in the original
cluster. As all we want to do is merge while the master is stopped,
simply stop it and start it again after.

Signed-off-by: Stephen Shirley <diamond@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
tools/cluster-merge