Bug 1062564 - gluster cli : Incorrect grammar in the "Usage" of "rebalance" command
Summary: gluster cli : Incorrect grammar in the "Usage" of "rebalance" command
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Susant Kumar Palai
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1071411
TreeView+ depends on / blocked
 
Reported: 2014-02-07 10:22 UTC by spandura
Modified: 2015-11-27 12:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1071411 (view as bug list)
Environment:
Last Closed: 2015-11-27 12:00:45 UTC
Embargoed:


Attachments (Terms of Use)

Description spandura 2014-02-07 10:22:32 UTC
Description of problem:
==========================
Currently Usage of rebalance command is : " Usage: volume rebalance <VOLNAME> [fix-layout] {start|stop|status} [force] "

1) "force" option can be only used with "start" . 

2) "fix-layout" option can be only used with "start" 

But the current usage says "fix-layout" operation can be stopped and can get the status of "fix-layout" operation and also "stop" ,"status" operation can be used with "force" option which is not correct. 

Version-Release number of selected component (if applicable):
===============================================================
glusterfs 3.4.0.59rhs built on Feb  4 2014 08:44:13


Steps to Reproduce:
=========================
1. root@rhs-client12 [Feb-07-2014- 5:06:46] >gluster v rebalance exporter stop force
Usage: volume rebalance <VOLNAME> [fix-layout] {start|stop|status} [force]

2. root@rhs-client12 [Feb-07-2014- 5:07:37] >gluster v rebalance exporter status force
Usage: volume rebalance <VOLNAME> [fix-layout] {start|stop|status} [force]

3. root@rhs-client11 [Feb-07-2014- 5:21:41] >gluster v rebalance exporter fix-layout status
Usage: volume rebalance <VOLNAME> [fix-layout] {start|stop|status} [force]
root@rhs-client11 [Feb-07-2014- 5:21:44] >

4. root@rhs-client11 [Feb-07-2014- 5:21:52] >gluster v rebalance exporter fix-layout stop
Usage: volume rebalance <VOLNAME> [fix-layout] {start|stop|status} [force]
root@rhs-client11 [Feb-07-2014- 5:22:07] >


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