Bug 1298156 - Removing a node from one cluster and adding it to another cluster does not work.
Summary: Removing a node from one cluster and adding it to another cluster does not work.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Shubhendu Tripathi
QA Contact: RHS-C QE
URL:
Whiteboard:
Depends On: 1311384
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-13 11:16 UTC by RamaKasturi
Modified: 2016-05-18 08:45 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Cause: gluster processes are stopped when moving host to maintenance. Consequence: Removing a host does not detach peer successfully as glusterd is not running on the host Workaround (if any): Remove peers, volume entries under /var/lib/glusterd from the host Result: Host can be added to another cluster
Clone Of:
Environment:
Last Closed: 2016-05-18 08:45:49 UTC
Embargoed:


Attachments (Terms of Use)

Description RamaKasturi 2016-01-13 11:16:37 UTC
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):
rhsc-3.1.2-0.70.el6.noarch

How reproducible:
Always

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.

Actual results:
Host installation fails with error Failed to add host into cluster and host status is non operational.

Expected results:
Host should be added sucessfully.

Additional info:

Comment 2 Sahina Bose 2016-01-13 11:36:33 UTC
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

Comment 7 Sahina Bose 2016-02-24 06:18:30 UTC
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

Comment 8 Ramesh N 2016-02-24 06:50:57 UTC
(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.

Comment 10 Ramesh N 2016-05-18 08:45:49 UTC
Closing this as per comment comment#8.


Note You need to log in before you can comment on or make changes to this bug.