Pranith Kumar Karampuri
2017-Jun-12 16:56 UTC
[Gluster-users] How to remove dead peer, osrry urgent again :(
On Sun, Jun 11, 2017 at 2:12 PM, Atin Mukherjee <amukherj at redhat.com> wrote:> > On Sun, 11 Jun 2017 at 06:25, Lindsay Mathieson < > lindsay.mathieson at gmail.com> wrote: > >> On 11/06/2017 10:46 AM, WK wrote: >> > I thought you had removed vna as defective and then ADDED in vnh as >> > the replacement? >> > >> > Why is vna still there? >> >> Because I *can't* remove it. It died, was unable to be brought up. The >> gluster peer detach command only works with live servers - A severe >> problem IMHO. > > > If the dead server doesn't host any volumes (bricks of volumes to be > specific) then you can actually remove the uuid entry from > /var/lib/glusterd from other nodes and restart glusterd instances one after > another as a workaround. With Glusterd2, we will see if we can have a > better user experience here. >We can also do "gluster peer detach <hostname> force right?> > GD2 team - your thoughts? > > > > >> >> -- >> Lindsay Mathieson >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://lists.gluster.org/mailman/listinfo/gluster-users >> > -- > - Atin (atinm) > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users >-- Pranith -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170612/797b335a/attachment.html>
Lindsay Mathieson
2017-Jun-12 21:05 UTC
[Gluster-users] How to remove dead peer, osrry urgent again :(
On 13/06/2017 2:56 AM, Pranith Kumar Karampuri wrote:> We can also do "gluster peer detach <hostname> force right?Tried that, didn't work - threw an error. -- Lindsay Mathieson
Lindsay Mathieson
2017-Jun-13 01:09 UTC
[Gluster-users] How to remove dead peer, osrry urgent again :(
On 13 June 2017 at 02:56, Pranith Kumar Karampuri <pkarampu at redhat.com> wrote:> We can also do "gluster peer detach <hostname> force right?Just to be sure I setup a test 3 node vm gluster cluster :) then shut down one of the nodes and tried to remove it. root at gh1:~# gluster peer status Number of Peers: 2 Hostname: gh2.brian.softlog Uuid: b59c32a5-eb10-4630-b147-890a98d0e51d State: Peer in Cluster (Connected) Hostname: gh3.brian.softlog Uuid: 825afc5c-ead6-4c83-97a0-fbc9d8e19e62 State: Peer in Cluster (Disconnected root at gh1:~# gluster peer detach gh3 force peer detach: failed: gh3 is not part of cluster -- Lindsay -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170613/7ec40306/attachment.html>
Atin Mukherjee
2017-Jun-13 01:15 UTC
[Gluster-users] How to remove dead peer, osrry urgent again :(
On Tue, 13 Jun 2017 at 06:39, Lindsay Mathieson <lindsay.mathieson at gmail.com> wrote:> > On 13 June 2017 at 02:56, Pranith Kumar Karampuri <pkarampu at redhat.com> > wrote: > >> We can also do "gluster peer detach <hostname> force right? > > > > Just to be sure I setup a test 3 node vm gluster cluster :) then shut down > one of the nodes and tried to remove it. > > > root at gh1:~# gluster peer status > Number of Peers: 2 > > Hostname: gh2.brian.softlog > Uuid: b59c32a5-eb10-4630-b147-890a98d0e51d > > State: Peer in Cluster (Connected) > > Hostname: gh3.brian.softlog > Uuid: 825afc5c-ead6-4c83-97a0-fbc9d8e19e62 > State: Peer in Cluster (Disconnected > > > root at gh1:~# gluster peer detach gh3 force > peer detach: failed: gh3 is not part of cluster >This looks like a bug in the error code as the error message is wrong. I'll take a look at it and get back.> > > -- > Lindsay >-- - Atin (atinm) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170613/e062f915/attachment.html>