Bug 1450630

Summary: [brick multiplexing] detach a brick if posix health check thread complaints about underlying brick
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: coreAssignee: Atin Mukherjee <amukherj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.12.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1458570 (view as bug list) Environment:
Last Closed: 2017-09-05 17:30:07 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:    
Bug Blocks: 1444861, 1450806, 1450813, 1458570    

Description Atin Mukherjee 2017-05-14 07:08:54 UTC
Description of problem:

Detach a brick if posix health check thread complaints about underlying brick.


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

How reproducible:
Always

Steps to Reproduce:
1. Enable brick mux and create a volume with two bricks
2. delete the backend of one of the brick
3. gluster v status doesn't show that brick is disconnected.

Actual results:
brick should be detached and gluster volume status should show the brick as offline.

Expected results:


Additional info:

Comment 1 Worker Ant 2017-05-14 07:09:17 UTC
REVIEW: https://review.gluster.org/17287 (brick mux: Detach brick on posix health check failure) posted (#1) for review on master by Atin Mukherjee (amukherj)

Comment 2 Worker Ant 2017-05-14 12:58:51 UTC
REVIEW: https://review.gluster.org/17287 (brick mux: Detach brick on posix health check failure) posted (#2) for review on master by Atin Mukherjee (amukherj)

Comment 3 Worker Ant 2017-05-14 13:49:26 UTC
REVIEW: https://review.gluster.org/17287 (brick mux: Detach brick on posix health check failure) posted (#3) for review on master by Atin Mukherjee (amukherj)

Comment 4 Worker Ant 2017-05-14 16:05:44 UTC
REVIEW: https://review.gluster.org/17287 (brick mux: Detach brick on posix health check failure) posted (#4) for review on master by Atin Mukherjee (amukherj)

Comment 5 Worker Ant 2017-05-15 12:15:07 UTC
COMMIT: https://review.gluster.org/17287 committed in master by Jeff Darcy (jeff.us) 
------
commit cb6837d03658c1005475d4040fa95504b3fd84d0
Author: Atin Mukherjee <amukherj>
Date:   Sun May 14 12:34:15 2017 +0530

    brick mux: Detach brick on posix health check failure
    
    With brick mux enabled, we'd need to detach a particular brick if the
    underlying backend has gone bad. This patch addresses the same.
    
    Change-Id: Icfd469c7407cd2d21d02e4906375ec770afeacc3
    BUG: 1450630
    Signed-off-by: Atin Mukherjee <amukherj>
    Reviewed-on: https://review.gluster.org/17287
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jeff.us>

Comment 6 Shyamsundar 2017-09-05 17:30:07 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-3.12.0, please open a new bug report.

glusterfs-3.12.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] http://lists.gluster.org/pipermail/announce/2017-September/000082.html
[2] https://www.gluster.org/pipermail/gluster-users/