Bug 1254937 - EC: gluster v add-brick and remove-brick help should display help for adding and removing bricks for disperse volume
Summary: EC: gluster v add-brick and remove-brick help should display help for addin...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: disperse
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: Bhaskarakiran
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-19 09:34 UTC by Anil Shah
Modified: 2016-11-23 23:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-18 06:21:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Anil Shah 2015-08-19 09:34:15 UTC
Description of problem:

To add-brick or remove-brick from disperse volume, when you type gluster v add-brick help or gluster remove-brick help , it doesn't display help to add or remove brick from disperse volume

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

[root@darkknight ~]# rpm -qa | grep glusterfs
glusterfs-api-3.7.1-11.el7rhgs.x86_64
glusterfs-cli-3.7.1-11.el7rhgs.x86_64
glusterfs-libs-3.7.1-11.el7rhgs.x86_64
glusterfs-client-xlators-3.7.1-11.el7rhgs.x86_64
glusterfs-server-3.7.1-11.el7rhgs.x86_64
glusterfs-rdma-3.7.1-11.el7rhgs.x86_64
glusterfs-3.7.1-11.el7rhgs.x86_64
glusterfs-fuse-3.7.1-11.el7rhgs.x86_64
glusterfs-geo-replication-3.7.1-11.el7rhgs.x86_64


How reproducible:

100%

Steps to Reproduce:
1. Create 4+2 disperse volume
2. run gluster volume add-brick help or gluster vol remove-brick help
 

Actual results:

[root@darkknightrises ~]# gluster v add-brick
Usage: volume add-brick <VOLNAME> [<stripe|replica> <COUNT>] <NEW-BRICK> ... [force]
[root@darkknightrises ~]# gluster v add-brick help
Usage: volume add-brick <VOLNAME> [<stripe|replica> <COUNT>] <NEW-BRICK> ... [force]
[root@darkknightrises ~]# 


Expected results:

It should display help to add or remove bricks from disperse volume

Additional info:

Comment 2 Pranith Kumar K 2015-09-18 06:21:31 UTC
The help text is to change the replica counts for add/remove brick, which are not yet supported on downstream. Disperse doesn't have any mechanism to change n=k+m counts yet. So the keyword disperse doesn't appear anywhere in the CLI.


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