Bug 1763134 - clearly state that replica 2 is deprecated in cli warning when user tries to create replica 2 volume
Summary: clearly state that replica 2 is deprecated in cli warning when user tries to ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: ---
Assignee: Sanju
QA Contact:
URL:
Whiteboard:
Depends On: 1763124
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-18 10:20 UTC by Sanju
Modified: 2019-11-19 10:14 UTC (History)
5 users (show)

Fixed In Version:
Clone Of: 1763124
Environment:
Last Closed: 2019-11-19 10:14:13 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 23565 0 None Abandoned cli: change the warning message 2019-12-25 11:38:44 UTC

Description Sanju 2019-10-18 10:20:05 UTC
Description of problem:
======================
as per admin guide of 3.4 in section 5.6.1( https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.4/html-single/administration_guide/index#sect-Creating_Replicated_Volumes ) we clearly state that creation of new x2 replica volumes stands deprecated.

We must hence change the warning in CLI to reflect the same.


currently we are getting below warning:

[root@dhcp35-190 ~]# gluster v create rep rep 2 dhcp35-237.lab.eng.blr.redhat.com:/gluster/brick1/rep2 $HOSTNAME:/gluster/brick1/rep2
Replica 2 volumes are prone to split-brain. Use Arbiter or Replica 3 to avoid this.
Do you still want to continue?
 (y/n) 



Need to change it to something like below:
*CREATION OF A NEW REPLICA 2 VOLUME STANDS DEPRECATED*  as they are prone to split-brain. Use Arbiter or Replica 3 to avoid this.

Do you still want to continue ?
 (y/n)

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

Comment 1 Worker Ant 2019-10-18 10:28:00 UTC
REVIEW: https://review.gluster.org/23565 (cli: change the warning message) posted (#1) for review on master by Sanju Rakonde

Comment 2 Sanju 2019-11-19 10:14:13 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.