Bug 1323928 - when server-quorum is enabled, volume get returns 0 value for server-quorum-ratio
Summary: when server-quorum is enabled, volume get returns 0 value for server-quorum-r...
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.3.0
Assignee: Atin Mukherjee
QA Contact: SATHEESARAN
URL:
Whiteboard:
: 1412065 (view as bug list)
Depends On: 1420611 1420989
Blocks: 1417147
TreeView+ depends on / blocked
 
Reported: 2016-04-05 06:08 UTC by SATHEESARAN
Modified: 2017-09-21 04:53 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.8.4-19
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1420611 (view as bug list)
Environment:
Last Closed: 2017-09-21 04:25:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2774 0 normal SHIPPED_LIVE glusterfs bug fix and enhancement update 2017-09-21 08:16:29 UTC

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


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