[Bugs] [Bug 1324053] New: quota/cli: quota list with path not working when limit is not set
bugzilla at redhat.com
bugzilla at redhat.com
Tue Apr 5 12:25:02 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1324053
Bug ID: 1324053
Summary: quota/cli: quota list with path not working when limit
is not set
Product: Red Hat Gluster Storage
Version: 3.1
Component: gluster-quota
Assignee: sankarshan at redhat.com
Reporter: vmallika at redhat.com
QA Contact: storage-qa-internal at redhat.com
CC: bugs at gluster.org
Depends On: 1323360
Blocks: 1323490
+++ This bug was initially created as a clone of Bug #1323360 +++
When a quota limit is not set, 'quota list <path>' should still display the
usage when a path parameter is specified.
# gluster volume quota vol1 list /
quota: No quota configured on volume vol1
# g;uster volume quota vol1 list-objects /
quota: No inode quota configured on volume vol1
We have specified a path '/' in quota list command and we are getting error 'No
quota configured'
Expected result:
# gluster volume quota vol1 list-objects /
Path Hard-limit Soft-limit Files
Dirs Available Soft-limit exceeded? Hard-limit exceeded?
-----------------------------------------------------------------------------------------------------------------------------------------------
/ N/A N/A 1
3 N/A N/A N/A
# gluster volume quota vol1 list /
Path Hard-limit Soft-limit Used
Available Soft-limit exceeded? Hard-limit exceeded?
-------------------------------------------------------------------------------------------------------------------------------
/ N/A N/A 1.0MB
N/A N/A N/A
--- Additional comment from Vijaikumar Mallikarjuna on 2016-04-01 23:53:58 EDT
---
Here is the test-case:
1) create volume
2) enable quota, but do not set any limits
3) create some files
4) execute quota list with path specified at the end
#gluster volume quota vol1 list /
#gluster volume quota vol1 list-objects /
--- Additional comment from Vijay Bellur on 2016-04-01 23:57:06 EDT ---
REVIEW: http://review.gluster.org/13893 (quota/cli: display quota usage on path
when limit not set) posted (#1) for review on master by Vijaikumar Mallikarjuna
(vmallika at redhat.com)
--- Additional comment from Vijay Bellur on 2016-04-05 08:23:33 EDT ---
COMMIT: http://review.gluster.org/13893 committed in master by Vijaikumar
Mallikarjuna (vmallika at redhat.com)
------
commit b198cdd6a47a964a102e8e96dc0de34cd19c2fd5
Author: vmallika <vmallika at redhat.com>
Date: Sat Apr 2 09:20:45 2016 +0530
quota/cli: display quota usage on path when limit not set
When a quota limit is not set, 'quota list <path>' should still display
the usage when a path parameter is specified.
Change-Id: Ida12d9c5e348fbd98db4d68d9324c623cbdd3dea
BUG: 1323360
Signed-off-by: vmallika <vmallika at redhat.com>
Reviewed-on: http://review.gluster.org/13893
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Manikandan Selvaganesh <mselvaga at redhat.com>
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
Tested-by: Raghavendra G <rgowdapp at redhat.com>
Smoke: Gluster Build System <jenkins at build.gluster.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1323360
[Bug 1323360] quota/cli: quota list with path not working when limit is not
set
https://bugzilla.redhat.com/show_bug.cgi?id=1323490
[Bug 1323490] quota/cli: quota list with path not working when limit is not
set
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=t6IN2NWs2F&a=cc_unsubscribe
More information about the Bugs
mailing list