Bug 1763129 - 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 ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: cli
Version: rhgs-3.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: RHGS 3.5.z Batch Update 3
Assignee: Sunil Kumar Acharya
QA Contact: Arthy Loganathan
URL:
Whiteboard:
Depends On:
Blocks: 1763152
TreeView+ depends on / blocked
 
Reported: 2019-10-18 10:12 UTC by Nag Pavan Chilakam
Modified: 2020-12-17 04:50 UTC (History)
7 users (show)

Fixed In Version: glusterfs-6.0-38
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1763152 (view as bug list)
Environment:
Last Closed: 2020-12-17 04:50:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5603 0 None None None 2020-12-17 04:50:33 UTC

Description Nag Pavan Chilakam 2019-10-18 10:12:29 UTC
Description of problem:
===========================
currently we only support volumes of replica count 3
Any volume with replica count 2 throws a warning (which again needs a bit of modification as mentioned in BZ#1763124)

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 dhcp35-237.lab.eng.blr.redhat.com:/gluster/brick1/rep2 $HOSTNAME:/gluster/brick1/rep2 dhcp35-29.lab.eng.blr.redhat.com:/gluster/brick1/rep2 dhcp35-157.lab.eng.blr.redhat.com:/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):
6.0.18

Comment 2 Sanju 2019-10-18 11:10:04 UTC
upstream patch: https://review.gluster.org/#/c/glusterfs/+/23566

Comment 7 Yaniv Kaul 2020-05-05 14:42:39 UTC
This should be a fairly simple tests to automate. Do we have it automated?

Comment 8 Nag Pavan Chilakam 2020-05-05 15:49:12 UTC
(In reply to Yaniv Kaul from comment #7)
> This should be a fairly simple tests to automate. Do we have it automated?

Not yet automated

Comment 15 errata-xmlrpc 2020-12-17 04:50:17 UTC
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 (glusterfs bug fix and enhancement update), 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-2020:5603


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