Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1647074

Summary: when peer detach is issued, throw a warning to remount volumes using other cluster IPs before proceeding
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: glusterdAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: low    
Version: mainlineCC: bmekala, bugs, nchilaka, rhs-bugs, sankarshan, storage-qa-internal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-6.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1639568 Environment:
Last Closed: 2019-03-25 16:31:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1639568    
Bug Blocks:    

Comment 1 Atin Mukherjee 2018-11-06 16:08:54 UTC
Description of problem:
-------------------
if a volume is mounted using a server IP, and if the server is being detached from the trusted pool, it can lead to data inconsistencies as explained in BZ#1639566

To avoid this, we must throw a warning prompt, when peer detach is issued , like below:
"first make sure that all clients mounted using the node being detached, are remounted using the ip of another server in the trusted pool, to avoid inconsistencies", if you have done that then only proceed{y/n}


Version-Release number of selected component (if applicable):
=============
mainline

Comment 2 Worker Ant 2018-11-06 16:12:06 UTC
REVIEW: https://review.gluster.org/21572 (glusterd: add a warning/confirmation message in peer detach code path) posted (#1) for review on master by Atin Mukherjee

Comment 3 Worker Ant 2018-11-09 07:19:15 UTC
REVIEW: https://review.gluster.org/21572 (cli: add a warning/confirmation message in peer detach code path) posted (#5) for review on master by Atin Mukherjee

Comment 4 Shyamsundar 2019-03-25 16:31:51 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-6.0, please open a new bug report.

glusterfs-6.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://lists.gluster.org/pipermail/announce/2019-March/000120.html
[2] https://www.gluster.org/pipermail/gluster-users/