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

Bug 1699714

Summary: Brick is not able to detach successfully in brick_mux environment
Product: [Community] GlusterFS Reporter: Mohit Agrawal <moagrawa>
Component: coreAssignee: Mohit Agrawal <moagrawa>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6CC: bugs, pasik, rhinduja, rhs-bugs, sankarshan, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-6.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1698919 Environment:
Last Closed: 2019-04-16 10:56:40 UTC Type: ---
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: 1698919    
Bug Blocks: 1699023, 1699025    

Description Mohit Agrawal 2019-04-15 04:30:51 UTC
+++ This bug was initially created as a clone of Bug #1698919 +++

Description of problem:
Brick is not detached successfully while brick_mux is enabled.

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


How reproducible:
Always

Steps to Reproduce:
1. Setup 3 node cluster environment
2. Enable brick_mux
3. Run below loop to setup 50 volumes
   for i in {1..50}; do gluster v create testvol$i replica 3 <node1>:/home/testvol/b$i <node2>:/home/testvol/b$i <node3>:/home/testvol/b$i force; gluster v start testvol$i;done
4. Run below loop to stop volume
   for i in {2..50}; do gluster v stop testvol$i --mode=script; sleep 1; ;done
5. After run above loop check brick in running process
   ls -lrth /proc/`pgrep glusterfsd`/fd | grep b | grep -v .glusterfs
   the command is showing multiple bricks are still part of the running process.
Actual results:
   Bricks are not detached successfully.

Expected results:
   Bricks should be detached successfully.

Additional info:

--- Additional comment from RHEL Product and Program Management on 2019-04-11 12:42:35 UTC ---

This bug is automatically being proposed for the next minor release of Red Hat Gluster Storage by setting the release flag 'rhgs‑3.5.0' to '?'. 

If this bug should be proposed for a different release, please manually change the proposed release flag.

Comment 1 Worker Ant 2019-04-15 04:33:21 UTC
REVIEW: https://review.gluster.org/22563 (core: Brick is not able to detach successfully in brick_mux environment) posted (#1) for review on release-6 by MOHIT AGRAWAL

Comment 2 Worker Ant 2019-04-16 10:56:40 UTC
REVIEW: https://review.gluster.org/22563 (core: Brick is not able to detach successfully in brick_mux environment) merged (#2) on release-6 by Shyamsundar Ranganathan

Comment 3 Shyamsundar 2019-04-22 13:33:17 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.1, please open a new bug report.

glusterfs-6.1 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-April/000124.html
[2] https://www.gluster.org/pipermail/gluster-users/