Bug 1300231 - 'gluster volume get' returns 0 value for server-quorum-ratio
Summary: 'gluster volume get' returns 0 value for server-quorum-ratio
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: RHGS 3.1.3
Assignee: Atin Mukherjee
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1299184 1300596 1315939
TreeView+ depends on / blocked
 
Reported: 2016-01-20 10:16 UTC by SATHEESARAN
Modified: 2016-09-17 16:44 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.7.9-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1300596 (view as bug list)
Environment:
Last Closed: 2016-06-23 05:03:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1240 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 Update 3 2016-06-23 08:51:28 UTC

Description SATHEESARAN 2016-01-20 10:16:53 UTC
Description of problem:
-----------------------
Even after setting server quorum ratio, volume get returns the value as 0

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

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

Steps to Reproduce:
-------------------
1. Enable server-quorum on the volume
2. Set the server-quorum-ratio to any value , say 80%
3. Get the server-quorum-ration using 'gluster volume get'

Actual results:
---------------
'gluster volume get' returns server-quorum-ratio as 0

Expected results:
-----------------
'gluster volume get' should return the correct value for server-quorum-ratio

Additional info:
----------------

[root@ ~]# gluster volume set all server-quorum-ratio 100%
volume set: success

[root@ ~]# gluster volume get rvolume server-quorum-ratio
Option                                  Value                                   
------                                  -----                                   
cluster.server-quorum-ratio             0                                       

[root@dhcp37-152 ~]# gluster volume get rvolume all | grep server-quorum-ratio
cluster.server-quorum-ratio             0

[root@ ~]# gluster volume info rvolume | grep server-quorum-ratio
cluster.server-quorum-ratio: 100%

Comment 1 Byreddy 2016-01-20 10:44:28 UTC
Add to above info.

always (with or without change), the get is returning zero for cluster.server-quorum ratio.

Comment 2 Atin Mukherjee 2016-01-21 09:21:06 UTC
Upstream patch http://review.gluster.org/13272 posted for review

Comment 4 Atin Mukherjee 2016-03-22 12:03:32 UTC
The fix is now available in rhgs-3.1.3 branch, hence moving the state to Modified.

Comment 6 SATHEESARAN 2016-03-30 06:43:12 UTC
Tested with RHGS 3.1.3 nightly build ( glusterfs-3.7.9-1.el7rhgs )

[root@ ~]# gluster volume set all server-quorum-ratio 30%

[root@ ~]# gluster volume get test server-quorum-ratio
Option                                  Value                                   
------                                  -----                                   
cluster.server-quorum-ratio             30%

Comment 8 errata-xmlrpc 2016-06-23 05:03:09 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-2016:1240


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