Bug 1699025

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 NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: mainlineCC: bugs, pasik, rhinduja, rhs-bugs, sankarshan, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1698919 Environment:
Last Closed: 2019-04-14 13:58:14 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, 1699714    
Bug Blocks: 1699023    

Description Mohit Agrawal 2019-04-11 15:07:55 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-11 15:29:20 UTC
REVIEW: https://review.gluster.org/22549 (core: Brick is not able to detach successfully in brick_mux environment) posted (#1) for review on master by MOHIT AGRAWAL

Comment 2 Worker Ant 2019-04-14 13:58:14 UTC
REVIEW: https://review.gluster.org/22549 (core: Brick is not able to detach successfully in brick_mux environment) merged (#4) on master by Atin Mukherjee

Comment 3 Atin Mukherjee 2019-04-29 02:59:00 UTC
*** Bug 1699023 has been marked as a duplicate of this bug. ***