Bug 1323928

Summary: when server-quorum is enabled, volume get returns 0 value for server-quorum-ratio
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: asrivast, nchilaka, rhinduja, rhs-bugs, storage-qa-internal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.8.4-19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1420611 (view as bug list) Environment:
Last Closed: 2017-09-21 04:25:52 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: 1420611, 1420989    
Bug Blocks: 1417147    

Description SATHEESARAN 2016-04-05 06:08:08 UTC
Description of problem:
-----------------------
When server-side quorum is enabled on the volume, the default value of server-quorum-ratio should be 50%

But 'gluster volume get' returns the value as 0

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHGS 3.1.2 ( glusterfs-3.7.5-19.el7rhgs )

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Enable server-quorum on the volume
2. get the server-quorum-ratio

Actual results:
---------------
server-quorum ratio value retrieved using gluster volume get is 0

Expected results:
-----------------
server-quorum ration value should be 50% using the gluster volume get, when just the server-quorum is enabled on the volume

Comment 5 Atin Mukherjee 2017-01-11 07:26:59 UTC
*** Bug 1412065 has been marked as a duplicate of this bug. ***

Comment 6 Atin Mukherjee 2017-02-09 04:53:23 UTC
upstream patch : https://review.gluster.org/16572

Comment 8 Atin Mukherjee 2017-03-24 09:38:37 UTC
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/101311/

Comment 10 SATHEESARAN 2017-04-24 13:05:44 UTC
Tested with RHGS 3.3.0 interim build ( glusterfs-3.8.4-23.el7rhgs ) 

Value of server-quorum-ratio as returned by gluster volume get interface is 51

# gluster volume get all cluster.server-quorum-ratio
Option                                  Value                                   
------                                  -----                                   
cluster.server-quorum-ratio             51

Comment 12 errata-xmlrpc 2017-09-21 04:25:52 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/RHBA-2017:2774

Comment 13 errata-xmlrpc 2017-09-21 04:53:56 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/RHBA-2017:2774