Bug 1698919 - Brick is not able to detach successfully in brick_mux environment
Summary: Brick is not able to detach successfully in brick_mux environment
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: RHGS 3.5.0
Assignee: Mohit Agrawal
QA Contact: Upasana
URL:
Whiteboard:
Depends On:
Blocks: 1696807 1699023 1699025 1699714
TreeView+ depends on / blocked
 
Reported: 2019-04-11 12:42 UTC by Mohit Agrawal
Modified: 2019-10-30 12:21 UTC (History)
5 users (show)

Fixed In Version: glusterfs-6.0-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1699023 1699025 1699714 (view as bug list)
Environment:
Last Closed: 2019-10-30 12:20:51 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:3249 0 None None None 2019-10-30 12:21:19 UTC

Description Mohit Agrawal 2019-04-11 12:42:32 UTC
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:

Comment 2 Mohit Agrawal 2019-04-15 04:46:51 UTC
Upstream patch
https://review.gluster.org/#/c/glusterfs/+/22549/

Downstream patch to resolve the same
https://code.engineering.redhat.com/gerrit/#/c/167826/

Comment 14 errata-xmlrpc 2019-10-30 12:20:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:3249


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