[Bugs] [Bug 1238181] New: cli : "Usage:" of gluster commands show replica in case of disperse volume

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 1 11:09:42 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1238181

            Bug ID: 1238181
           Summary: cli : "Usage:"  of gluster commands show replica in
                    case of disperse volume
           Product: GlusterFS
           Version: mainline
         Component: cli
          Assignee: bugs at gluster.org
          Reporter: aspandey at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:
if provided wrong option for gluster command for  disperse volume, Usage
displays about replica. Could mislead customers. 


[root at aspandey ~]# gluster volume remove-brick gfs  aspandey:/brick/dist/A11
aspandey:/brick/dist/A12 aspandey:/brick/dist/A13 aspandey:/brick/dist/A14
aspandey:/brick/dist/A15 aspandey:/brick/dist/A16 sta
Usage: volume remove-brick <VOLNAME> [replica <COUNT>] <BRICK> ...
<start|stop|status|commit|force>
[root at aspandey ~]# 

[root at aspandey ~]# gluster v heal
Usage: volume heal <VOLNAME> [enable | disable | full |statistics [heal-count 
[replica <HOSTNAME:BRICKNAME>]] |info [healed | heal-failed | split-brain]
|split-brain {bigger-file <FILE> |source-brick <HOSTNAME:BRICKNAME> [<FILE>]}]

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

Version-Release number of selected component (if applicable):
Usage: volume add-brick <VOLNAME> [<stripe|replica> <COUNT>] <NEW-BRICK> ...
[force]
[root at aspandey ~]# gluster --version
glusterfs 3.8dev built on Jun 30 2015 18:11:45
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.
[root at aspandey ~]#

How reproducible:
100%

Steps to Reproduce:
1.Create disperse volume
2.Provide wrong options for the above commands for disperse volumes

Actual results:
wrong usage information
Expected results:
Usage:  must contain the information about all or targeted "volume type"


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list