[Bugs] [Bug 1315939] New: 'gluster volume get' returns 0 value for server-quorum-ratio

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 9 04:09:17 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1315939

            Bug ID: 1315939
           Summary: 'gluster volume get' returns 0 value for
                    server-quorum-ratio
           Product: GlusterFS
           Version: 3.7.8
         Component: glusterd
          Keywords: Triaged
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: amukherj at redhat.com
                CC: amukherj at redhat.com, bsrirama at redhat.com,
                    bugs at gluster.org, ggarg at redhat.com,
                    sasundar at redhat.com
        Depends On: 1300231, 1300596



+++ This bug was initially created as a clone of Bug #1300596 +++

+++ This bug was initially created as a clone of Bug #1300231 +++

Description of problem:
-----------------------
Even after setting server quorum ratio, volume get returns the value as 0

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

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 at 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%

--- Additional comment from Byreddy on 2016-01-20 05:44:28 EST ---

Add to above info.

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

--- Additional comment from Vijay Bellur on 2016-01-21 04:19:53 EST ---

REVIEW: http://review.gluster.org/13272 (glusterd: volume get should pick
options from priv->opts too) posted (#1) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Vijay Bellur on 2016-03-04 03:53:16 EST ---

REVIEW: http://review.gluster.org/13272 (glusterd: volume get should pick
options from priv->opts too) posted (#2) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Vijay Bellur on 2016-03-06 23:45:54 EST ---

REVIEW: http://review.gluster.org/13272 (glusterd: volume get should pick
options from priv->opts too) posted (#3) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Vijay Bellur on 2016-03-08 08:58:31 EST ---

COMMIT: http://review.gluster.org/13272 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 05d3d95afa62ef3271f0fe3c7272e1e19638c448
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Thu Jan 21 14:48:34 2016 +0530

    glusterd: volume get should pick options from priv->opts too

    As of now volume get was not looking for all the global options maintained
in
    option dictionary in glusterd_conf_t. This patch includes the same.

    Change-Id: Ib05259a2dcacc4a712cae4217fe4a6553b61da56
    BUG: 1300596
    Signed-off-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-on: http://review.gluster.org/13272
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Gaurav Kumar Garg <ggarg at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1300231
[Bug 1300231] 'gluster volume get' returns 0 value for server-quorum-ratio
https://bugzilla.redhat.com/show_bug.cgi?id=1300596
[Bug 1300596] 'gluster volume get' returns 0 value for server-quorum-ratio
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list