Bug 1262230

Summary: [quorum]: Replace brick is happened when Quorum not met.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Byreddy <bsrirama>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED ERRATA QA Contact: Bala Konda Reddy M <bmekala>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amukherj, nchilaka, nlevinki, rhinduja, rhs-bugs, sheggodu, storage-qa-internal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: rebase
Fixed In Version: glusterfs-3.12.2-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1483058 (view as bug list) Environment:
Last Closed: 2018-09-04 06:26:58 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: 1483058, 1486110, 1503134    
Attachments:
Description Flags
Glusterd Log none

Description Byreddy 2015-09-11 08:29:23 UTC
Description of problem:
Brick replace is happened successfully when Quorum not met also which is not expected.


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


How reproducible:
Always

Steps to Reproduce:
1.Create a cluster of two nodes (Node-1 and Node-2)
2.Create a Distributed volume using two node bricks.
3.Start the Volume.
4.Shutdown one of the node (Node-2)
5. 
  a. Check the volume status //brick status should be offline (To make sure Quorum Not met )
    (OR)
  b. Check for message "Server quorum lost for volume Dis. Stopping local bricks." in /var/log/messages

6. Replace the existing brick on node which is up with new brick.


Actual results:
Replace brick is happened when quorum not met


Expected results:
Replace brick should not happen when quorum not met.

Additional info:

Comment 3 Byreddy 2015-09-11 08:39:31 UTC
Created attachment 1072494 [details]
Glusterd Log

Comment 4 Byreddy 2016-01-12 09:17:40 UTC
This issue reproduced with 3.1.2 build (glusterfs-3.7.5-15 ) as well.

Comment 7 Atin Mukherjee 2017-08-30 05:21:38 UTC
upstream patch : https://review.gluster.org/18068

Comment 10 Bala Konda Reddy M 2018-02-19 10:30:45 UTC
BUILD : 3.12.2-4

When quorum is not met, replace brick is failing as expected.

Hence marking it as verified

Comment 13 errata-xmlrpc 2018-09-04 06:26:58 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/RHSA-2018:2607