Bug 983397

Summary: "help" word should be recognized as a KEYWORD when executing volume commands
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: spandura
Component: glusterdAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED EOL QA Contact: storage-qa-internal <storage-qa-internal>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: rhs-bugs, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: glusterd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-03 17:18:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description spandura 2013-07-11 06:50:55 UTC
Description of problem:
======================
When we execute "gluster volume create help", the help word is recognized as KEYWORD and the usage of the command is returned as output. The same is the case with "gluster volume set help". 

Example: 
~~~~~~~~~~
root@king [Jul-11-2013-12:14:11] >gluster v create help
Usage: volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ... [force]

But for certain volume commands like , "volume start help" , "volume sync help", the help is not treated as KEYWORD. 

Example:
~~~~~~~~~~
root@king [Jul-11-2013-12:14:14] >gluster v start help
volume start: help: failed: Volume help does not exist

root@king [Jul-11-2013-12:19:00] >gluster v sync help
Sync volume may make data inaccessible while the sync is in progress. Do you want to continue? (y/n) y
volume sync: failed: help, is not a friend

Expected Result:-
~~~~~~~~~~~~~~~~~
"help" word should be treated as KEYWORD for all the volume commands. 

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

root@king [Jul-11-2013-12:19:22] >rpm -qa | grep glusterfs-server
glusterfs-server-3.4.0.12rhs.beta3-1.el6rhs.x86_64

root@king [Jul-11-2013-12:19:26] >gluster --version
glusterfs 3.4.0.12rhs.beta3 built on Jul  6 2013 14:35:18

Comment 2 Vivek Agarwal 2015-12-03 17:18:31 UTC
Thank you for submitting this issue for consideration in Red Hat Gluster Storage. The release for which you requested us to review, is now End of Life. Please See https://access.redhat.com/support/policy/updates/rhs/

If you can reproduce this bug against a currently maintained version of Red Hat Gluster Storage, please feel free to file a new report against the current release.