Red Hat Bugzilla – Bug 1298156
Removing a node from one cluster and adding it to another cluster does not work.
Last modified: 2016-05-18 04:45:49 EDT
Description of problem:
Have a two clusters say cluster1 and cluster2 with two nodes each. Now move one of the node in cluster1 to maintenance and remove it from the cluster. Adding the node which was removed to another cluster i.e cluster2 does not work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create two clusters say cluster1 and cluster2.
2. Add two nodes to cluster1 and another two nodes to cluster2.
3. Now move one of the node to maintenance in cluster1 and remove it from cluster1.
4. Try adding the same node to cluster2.
Host installation fails with error Failed to add host into cluster and host status is non operational.
Host should be added sucessfully.
Putting node to maintenance stops all gluster processes on host. While removing this host, the peer detach fails to remove entries under /var/lib/glusterd as glusterd process is not running on host - causing this error
There should be an option to not stop gluster service when a node is moved to maintenance. Once that is taken in, this can be closed wontfix
(In reply to Sahina Bose from comment #7)
> There should be an option to not stop gluster service when a node is moved
> to maintenance. Once that is taken in, this can be closed wontfix
Yes. We will take the bz#1311384 to add this option in the maintenance host pop-up and close this bug as won't fix. We should document all the flow well in Admin guide.
Closing this as per comment comment#8.