[Bugs] [Bug 1420989] New: when server-quorum is enabled, volume get returns 0 value for server-quorum-ratio

bugzilla at redhat.com bugzilla at redhat.com
Fri Feb 10 04:41:17 UTC 2017


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

            Bug ID: 1420989
           Summary: when server-quorum is enabled, volume get returns 0
                    value for server-quorum-ratio
           Product: GlusterFS
           Version: 3.10
         Component: glusterd
          Keywords: Triaged
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: amukherj at redhat.com
                CC: bsrirama at redhat.com, bugs at gluster.org,
                    nchilaka at redhat.com, rhs-bugs at redhat.com,
                    sasundar at redhat.com, storage-qa-internal at redhat.com,
                    vbellur at redhat.com
        Depends On: 1420611
            Blocks: 1323928



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

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

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

--- Additional comment from Red Hat Bugzilla Rules Engine on 2016-04-05
02:08:12 EDT ---

This bug is automatically being proposed for the current z-stream release of
Red Hat Gluster Storage 3 by setting the release flag 'rhgs‑3.1.z' to '?'. 

If this bug should be proposed for a different release, please manually change
the proposed release flag.

--- Additional comment from Red Hat Bugzilla Rules Engine on 2016-07-04
04:53:17 EDT ---

This bug is automatically being proposed for the current z-stream release of
Red Hat Gluster Storage 3 by setting the release flag 'rhgs‑3.1.z' to '?'. 

If this bug should be proposed for a different release, please manually change
the proposed release flag.

--- Additional comment from Rejy M Cyriac on 2016-09-17 12:34:26 EDT ---

Moving BZ to a transitional component in preparation for removing the
'glusterd' sub-component at the 'glusterd' component

--- Additional comment from Rejy M Cyriac on 2016-09-17 12:47:36 EDT ---

Moving BZ back to the 'glusterd' component after removal of the 'glusterd'
sub-component

--- Additional comment from Atin Mukherjee on 2017-01-11 02:26:59 EST ---

--- Additional comment from Worker Ant on 2017-02-08 23:47:13 EST ---

REVIEW: https://review.gluster.org/16572 (glusterd: set default
GLUSTERD_QUORUM_RATIO_KEY value to 50) posted (#1) for review on master by Atin
Mukherjee (amukherj at redhat.com)

--- Additional comment from Worker Ant on 2017-02-08 23:51:14 EST ---

REVIEW: https://review.gluster.org/16572 (glusterd: set default
GLUSTERD_QUORUM_RATIO_KEY value to 51) posted (#2) for review on master by Atin
Mukherjee (amukherj at redhat.com)

--- Additional comment from Worker Ant on 2017-02-09 09:27:01 EST ---

REVIEW: https://review.gluster.org/16572 (glusterd: set default
GLUSTERD_QUORUM_RATIO_KEY value to 51) posted (#3) for review on master by Atin
Mukherjee (amukherj at redhat.com)

--- Additional comment from Worker Ant on 2017-02-09 11:41:48 EST ---

COMMIT: https://review.gluster.org/16572 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit 9385d3409054f21c7b936ad62b9a67728c31d839
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Thu Feb 9 10:13:20 2017 +0530

    glusterd: set default GLUSTERD_QUORUM_RATIO_KEY value to 51

    The default value of GLUSTERD_QUORUM_RATIO_KEY is set to 0, while this
    doesn't harm any functionality as the actual quorum calculation logic
    always take the factor that if the key is not set in the dictionary the
    value is considered to be 51 but from an user perspective it gives an
    incorrect output through volume get where quorum-ratio is always shown as
    0 until reconfigured.

    Change-Id: I087712fa4736055859f29cc3bdbb3b111cbe7224
    BUG: 1420611
    Signed-off-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-on: https://review.gluster.org/16572
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1323928
[Bug 1323928] when server-quorum is enabled, volume get returns 0 value for
server-quorum-ratio
https://bugzilla.redhat.com/show_bug.cgi?id=1420611
[Bug 1420611] when server-quorum is enabled, 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