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%
Add to above info. always (with or without change), the get is returning zero for cluster.server-quorum ratio.
Upstream patch http://review.gluster.org/13272 posted for review
The fix is now available in rhgs-3.1.3 branch, hence moving the state to Modified.
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%
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