Bug 1376671

Summary: Rebalance fails to start if a brick is down
Product: [Community] GlusterFS Reporter: Nithya Balachandran <nbalacha>
Component: glusterdAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.10.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-06 17:26:11 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:

Description Nithya Balachandran 2016-09-16 07:01:40 UTC
Description of problem:

Rebalance requires all DHT subvols to be available in order to proceed. However, with the latest master, I am unable to start a rebalance even if a single brick in a replica set is available but the DHT subvol is still available. This defeats the purpose of having AFR/EC.

This was introduced in http://review.gluster.org/10906.

However, on re-evaluating this, I think the logic around this should stay with the DHT rebalance process and should not be handled in glusterd.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2016-09-16 07:41:32 UTC
REVIEW: http://review.gluster.org/15517 (glusterd: Revert 368e26f454fe35477e46dc698fa6b8c3c608ea8d) posted (#1) for review on master by N Balachandran (nbalacha)

Comment 2 Worker Ant 2016-09-16 08:08:30 UTC
REVIEW: http://review.gluster.org/15517 (glusterd: Revert 368e26f454fe35477e46dc698fa6b8c3c608ea8d) posted (#2) for review on master by N Balachandran (nbalacha)

Comment 3 Worker Ant 2016-09-23 08:17:44 UTC
REVIEW: http://review.gluster.org/15517 (glusterd: Revert 368e26f454fe35477e46dc698fa6b8c3c608ea8d) posted (#3) for review on master by N Balachandran (nbalacha)

Comment 4 Worker Ant 2016-09-26 17:54:31 UTC
COMMIT: http://review.gluster.org/15517 committed in master by Atin Mukherjee (amukherj) 
------
commit 4004e667edc88ac9a8c1e9048da0919ec38be4c2
Author: N Balachandran <nbalacha>
Date:   Fri Sep 16 13:05:59 2016 +0530

    glusterd: Revert 368e26f454fe35477e46dc698fa6b8c3c608ea8d
    
    The earlier fix prevented rebalance from
    starting even if only a single brick of a
    replica set was down.
    
    Change-Id: I8c9a7d4c1fe33f7749568357462f29796e1b832a
    BUG: 1376671
    Signed-off-by: N Balachandran <nbalacha>
    Reviewed-on: http://review.gluster.org/15517
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Raghavendra G <rgowdapp>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 5 Shyamsundar 2017-03-06 17:26:11 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.10.0, please open a new bug report.

glusterfs-3.10.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/gluster-users/2017-February/030119.html
[2] https://www.gluster.org/pipermail/gluster-users/