Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1763152

Summary: either don't allow or else throw a warning if a user tries to create a volume with replica count greater than 3
Product: [Community] GlusterFS Reporter: Sanju <srakonde>
Component: cliAssignee: Sanju <srakonde>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, nchilaka, rhinduja, rhs-bugs, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1763129 Environment:
Last Closed: 2019-11-19 10:14:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1763129    
Bug Blocks:    

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.