Bug 1064265
Summary: | quota: allowed to set soft-limit %age beyond 100% | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Saurabh <saujain> | |
Component: | quota | Assignee: | Manikandan <mselvaga> | |
Status: | CLOSED ERRATA | QA Contact: | Anil Shah <ashah> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 2.1 | CC: | annair, byarlaga, divya, mselvaga, mzywusko, nlevinki, nsathyan, rgowdapp, rhs-bugs, smohan, storage-qa-internal, vagarwal, vbellur, vmallika | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | RHGS 3.1.1 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.1-12 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, the gluster CLI allowed to set the soft-limit value of quota to greater than 100%. With this fix, soft-limit value is validated to allow only in the range of 1-100%.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1240654 1253222 1253224 (view as bug list) | Environment: | ||
Last Closed: | 2015-10-05 07:07:14 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1251815, 1253222, 1253224 |
Description
Saurabh
2014-02-12 10:19:00 UTC
Patch posted upstream for review http://review.gluster.org/#/c/11566/ Patch merged upstream. *** Bug 1253224 has been marked as a duplicate of this bug. *** *** Bug 1253222 has been marked as a duplicate of this bug. *** [root@darkknight ~]# gluster v quota testvol limit-usage /test 50GB 100% volume quota : success [root@darkknight ~]# gluster v quota testvol list Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded? --------------------------------------------------------------------------------------------------------------------------- / 100.0GB 80% 0Bytes 100.0GB No No /test 50.0GB 100% 0Bytes 50.0GB No No [root@darkknight ~]# gluster v quota testvol limit-usage /test 50GB 101% Please enter a correct value in the range of 0 to 100 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>} Bug verified on glusterfs-3.7.1-12.el7rhgs.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1845.html |