Bug 1763152 - either don't allow or else throw a warning if a user tries to create a volume with replica count greater than 3
Summary: either don't allow or else throw a warning if a user tries to create a volume...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Sanju
QA Contact:
URL:
Whiteboard:
Depends On: 1763129
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-18 11:08 UTC by Sanju
Modified: 2019-11-19 10:14 UTC (History)
5 users (show)

Fixed In Version:
Clone Of: 1763129
Environment:
Last Closed: 2019-11-19 10:14:59 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23566 0 None Abandoned cli: throw a warning if replica count greater than 3 2019-12-25 11:39:03 UTC

Description Sanju 2019-10-18 11:08:35 UTC
Description of problem:
===========================
currently we only support volumes of replica count 3
Any volume with replica count 2 throws a warning

however glusterfs still create a volume of replica count >3 as below example, without any caution/warning.

[root@dhcp35-190 ~]# gluster v create rep rep 4 server:/gluster/brick1/rep2 $HOSTNAME:/gluster/brick1/rep2 server2:/gluster/brick1/rep2 server3:/gluster/brick1/rep2 
volume create: rep: success: please start the volume to access data



We must throw a warning saying that " replica count other than or greater than  3 is not supported,"


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

Comment 1 Worker Ant 2019-10-18 11:11:27 UTC
REVIEW: https://review.gluster.org/23566 (cli: throw a warning while creating replica 3 volume) posted (#1) for review on master by Sanju Rakonde

Comment 2 Sanju 2019-11-19 10:14:59 UTC
Closing this bug as we don't need it at upstream.


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