Bug 1529515 - AFR: 3-way-replication: gluster volume set cluster.quorum-count should validate max no. of brick count to accept
Summary: AFR: 3-way-replication: gluster volume set cluster.quorum-count should valida...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: mainline
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Karthik U S
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1186664 1551514
TreeView+ depends on / blocked
 
Reported: 2017-12-28 13:25 UTC by Karthik U S
Modified: 2018-03-15 11:24 UTC (History)
4 users (show)

Fixed In Version: glusterfs-4.0.0
Clone Of: 1186664
: 1551514 (view as bug list)
Environment:
Last Closed: 2018-03-15 11:24:00 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Karthik U S 2017-12-28 13:26:54 UTC
Description of problem:

When we set cluster.quorum-count to no. number of bricks to be up, it should validate max no of bricks value command can accept.

How reproducible:

100%

Steps to Reproduce:
1.Create 2x3 distribute replicate volume
2.execute gluster volume set <volname> cluster.quorum-type fixed
3.execute gluster volume set <volname>  cluster.quorum-count <no. of bricks to be up>

Actual results:

gluster volume set <volname>  cluster.quorum-count  accepts any valune between [1 - 2147483647]

Expected results:

gluster volume set <volname>  cluster.quorum-count  should validate max no, of brick count to accept

Comment 2 Worker Ant 2017-12-28 13:29:17 UTC
REVIEW: https://review.gluster.org/19104 (mgmt/glusterd: Adding validation for setting quorum-count) posted (#1) for review on master by Karthik U S

Comment 3 Worker Ant 2017-12-29 11:20:21 UTC
COMMIT: https://review.gluster.org/19104 committed in master by \"Karthik U S\" <ksubrahm> with a commit message- mgmt/glusterd: Adding validation for setting quorum-count

In a replicated volume it was allowing to set the quorum-count value
between the range [1 - 2147483647]. This patch adds validation for
allowing only maximum of replica_count number of quorum-count value
to be set on a volume.

Change-Id: I13952f3c6cf498c9f2b91161503fc0fba9d94898
BUG: 1529515
Signed-off-by: karthik-us <ksubrahm>

Comment 4 Worker Ant 2018-03-05 10:23:11 UTC
REVIEW: https://review.gluster.org/19671 (mgmt/glusterd: Adding validation for setting quorum-count) posted (#1) for review on release-3.13 by Karthik U S

Comment 5 Worker Ant 2018-03-05 10:26:41 UTC
REVISION POSTED: https://review.gluster.org/19671 (mgmt/glusterd: Adding validation for setting quorum-count) posted (#2) for review on release-3.13 by Karthik U S

Comment 6 Shyamsundar 2018-03-15 11:24:00 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-4.0.0, please open a new bug report.

glusterfs-4.0.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2018-March/000092.html
[2] https://www.gluster.org/pipermail/gluster-users/


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