Bug 1324053
Summary: | quota/cli: quota list with path not working when limit is not set | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Vijaikumar Mallikarjuna <vmallika> |
Component: | quota | Assignee: | Raghavendra G <rgowdapp> |
Status: | CLOSED ERRATA | QA Contact: | Anil Shah <ashah> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.1 | CC: | amukherj, bugs, rcyriac, rhinduja, rhs-bugs, smohan |
Target Milestone: | --- | ||
Target Release: | RHGS 3.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.8.4-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1323360 | Environment: | |
Last Closed: | 2017-03-23 05:28:18 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: | 1323360 | ||
Bug Blocks: | 1323490, 1351522 |
Description
Vijaikumar Mallikarjuna
2016-04-05 12:25:02 UTC
Patch merged upstream: mainline: http://review.gluster.org/#/c/13893/ release-3.7: http://review.gluster.org/#/c/13895/ Upstream mainline : http://review.gluster.org/13893 Upstream 3.8 : Available as part of branching from mainline And the fix is available in rhgs-3.2.0 as part of rebase to GlusterFS 3.8.4. [root@rhs-client46 ~]# gluster v info Volume Name: arbvol Type: Distributed-Replicate Volume ID: b59349bc-0120-4b94-a714-21ada116124a Status: Started Snapshot Count: 0 Number of Bricks: 2 x (2 + 1) = 6 Transport-type: tcp Bricks: Brick1: 10.70.36.70:/rhs/brick1/b1 Brick2: 10.70.36.71:/rhs/brick1/b2 Brick3: 10.70.36.46:/rhs/brick1/b3 (arbiter) Brick4: 10.70.44.7:/rhs/brick1/b4 Brick5: 10.70.36.70:/rhs/brick2/b5 Brick6: 10.70.36.71:/rhs/brick2/b6 (arbiter) Options Reconfigured: features.quota-deem-statfs: on features.inode-quota: on features.quota: on transport.address-family: inet performance.readdir-ahead: on nfs.disable: on ============================================================== [root@rhs-client46 ~]# gluster v quota arbvol list-object / Path Hard-limit Soft-limit Files Dirs Available Soft-limit exceeded? Hard-limit exceeded? ----------------------------------------------------------------------------------------------------------------------------------------------- / N/A N/A 1000 4 N/A N/A N/A [root@rhs-client46 ~]# gluster v quota arbvol list / Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded? ------------------------------------------------------------------------------------------------------------------------------- / N/A N/A 2.0GB N/A N/A N/A [root@rhs-client46 ~]# gluster v quota arbvol list /test Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded? ------------------------------------------------------------------------------------------------------------------------------- /test N/A N/A 0Bytes N/A N/A N/A [root@rhs-client46 ~]# gluster v quota arbvol list-object /test Path Hard-limit Soft-limit Files Dirs Available Soft-limit exceeded? Hard-limit exceeded? ----------------------------------------------------------------------------------------------------------------------------------------------- /test N/A N/A 0 1 N/A N/A N/A ========================================================================== [root@rhs-client46 ~]# gluster v quota arbvol list-object /test/test1 Path Hard-limit Soft-limit Files Dirs Available Soft-limit exceeded? Hard-limit exceeded? ----------------------------------------------------------------------------------------------------------------------------------------------- /test/test1 N/A N/A 0 1 N/A N/A N/A [root@rhs-client46 ~]# gluster v quota arbvol list /test/test1 Path Hard-limit Soft-limit Used Available Soft-limit exceeded? Hard-limit exceeded? ------------------------------------------------------------------------------------------------------------------------------- /test/test1 N/A N/A 0Bytes N/A N/A N/A Bug verified on build glusterfs-3.8.4-2.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-2017-0486.html |