Bug 1027726

Summary: [RFE] Quota: Improve volume-quota-help subcommand to display usage information of all quota subcommands.
Product: Red Hat Gluster Storage Reporter: Gowrishankar Rajaiyan <grajaiya>
Component: quotaAssignee: Manikandan <mselvaga>
Status: CLOSED DEFERRED QA Contact: storage-qa-internal <storage-qa-internal>
Severity: unspecified Docs Contact:
Priority: low    
Version: 2.1CC: mselvaga, rhs-bugs, smohan, storage-qa-internal, vbellur, vmallika
Target Milestone: ---Keywords: EasyFix, FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1282727 (view as bug list) Environment:
Last Closed: 2015-11-17 09:14:09 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:
Bug Depends On:    
Bug Blocks: 1282727    

Description Gowrishankar Rajaiyan 2013-11-07 10:38:23 UTC
Credit: Thanks to Krishnan Parthasarathi for identifying this as futurefeature.

Description of problem:
It would be nice to improve our volume-quota-help subcommand to display usage information of all quota subcommands in one place, like volume-set-help subcommand.

Version-Release number of selected component (if applicable):
glusterfs-server-3.4.0.39rhs-1.el6rhs.x86_64

Comment 2 Manikandan 2015-09-15 09:49:43 UTC
Currently, commands like 'gluster volume add-brick help', 'gluster volume remove-brick help' and other similar commands shows output like 'gluster volume quota help'. It would be nice to enhance the current framework to implement the proposed feature.

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

Comment 3 Manikandan 2015-09-15 09:50:18 UTC
(In reply to Manikandan from comment #2)
> Currently, commands like 'gluster volume add-brick help', 'gluster volume
> remove-brick help' and other similar commands shows output like 'gluster
> volume quota help'. It would be nice to enhance the current framework to
> implement the proposed feature.
> 
> gluster v add-brick help
> Usage: volume add-brick <VOLNAME> [<stripe|replica> <COUNT>] <NEW-BRICK> ...
> [force]

gluster volume quota help
Usage: volume quota <VOLNAME> {enable|disable|list [<path> ...]| list-objects [<path> ...] | remove <path>| remove-objects <path> | default-soft-limit <percent>} |
volume quota <VOLNAME> {limit-usage <path> <size> [<percent>]} |
volume quota <VOLNAME> {limit-objects <path> <number> [<percent>]} |
volume quota <VOLNAME> {alert-time|soft-timeout|hard-timeout} {<time>}

Comment 4 Vijaikumar Mallikarjuna 2015-11-17 09:14:09 UTC
As 2.1 is EOL'ed, closing this bug and filed 3.1 bug# 1282727