Bug 1252873 - gluster vol quota dist-vol list is not displaying quota informatio.
Summary: gluster vol quota dist-vol list is not displaying quota informatio.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: 3.7.3
Hardware: x86_64
OS: Other
unspecified
medium
Target Milestone: ---
Assignee: Manikandan
QA Contact:
URL:
Whiteboard:
Depends On: 1065651 1245558
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-12 12:21 UTC by Manikandan
Modified: 2016-09-20 04:28 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.7.4
Doc Type: Bug Fix
Doc Text:
Clone Of: 1245558
Environment:
Last Closed: 2015-09-09 09:39:24 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Manikandan 2015-08-12 12:21:03 UTC
+++ This bug was initially created as a clone of Bug #1245558 +++

+++ This bug was initially created as a clone of Bug #1065651 +++

Description of problem:

After enabling quota command "gluster vol quota dist-vol list" is not displaying quota information.

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

glusterfs 3.5.0beta3

How reproducible:

Everytime

Steps to Reproduce:
1.gluster volume quota dist-vol enable
2.gluster volume quota dist-vol limit-usage / 5GB
3.gluster volume quota dist-vol list show
4. Run dd command to client.

dd if=/dev/zero of=/mnt/nfs/tes.img bs=1M count=5
Actual results:

                  Path                   Hard-limit Soft-limit   Used  Available
--------------------------------------------------------------------------------

Expected results:

gluster volume quota dist-vol list should quota details.

Additional info:

--- Additional comment from Anand Avati on 2015-07-22 05:56:08 EDT ---

REVIEW: http://review.gluster.org/11738 (quota : checking for absolute path in quota command) posted (#1) for review on master by Manikandan Selvaganesh (mselvaga)

--- Additional comment from Anand Avati on 2015-07-23 01:45:46 EDT ---

REVIEW: http://review.gluster.org/11738 (quota : checking for absolute path in quota command) posted (#2) for review on master by Manikandan Selvaganesh (mselvaga)

--- Additional comment from Anand Avati on 2015-08-12 07:47:43 EDT ---

COMMIT: http://review.gluster.org/11738 committed in master by Raghavendra G (rgowdapp) 
------
commit 06c3cf61249e05ae1212a43d5fc1db57bad5f718
Author: Manikandan Selvaganesh <mselvaga>
Date:   Wed Jul 22 15:12:36 2015 +0530

    quota : checking for absolute path in quota command
    
    Currently, if absolute path is not entered in
    "gluster volume quota <vol-name> list <path>",
    it just shows the header (Path Hard-limit Soft-limit...)
    instead of showing an error message.
    
    With this patch, it shows an error to enter the absolute path.
    
    Change-Id: I2c3d34bfdc7b924d00b11f8649b73a5069cbc2dc
    BUG: 1245558
    Signed-off-by: Manikandan Selvaganesh <mselvaga>
    Reviewed-on: http://review.gluster.org/11738
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijaikumar Mallikarjuna <vmallika>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 1 Anand Avati 2015-08-12 12:35:48 UTC
REVIEW: http://review.gluster.org/11899 (quota : checking for absolute path in quota command) posted (#1) for review on release-3.7 by Manikandan Selvaganesh (mselvaga)

Comment 2 Anand Avati 2015-08-13 05:30:00 UTC
COMMIT: http://review.gluster.org/11899 committed in release-3.7 by Raghavendra G (rgowdapp) 
------
commit ae6cf9a1cbc3072ff88728726f7ba16fe7d338a5
Author: Manikandan Selvaganesh <mselvaga>
Date:   Wed Jul 22 15:12:36 2015 +0530

    quota : checking for absolute path in quota command
    
    Currently, if absolute path is not entered in
    "gluster volume quota <vol-name> list <path>",
    it just shows the header (Path Hard-limit Soft-limit...)
    instead of showing an error message.
    
    With this patch, it shows an error to enter the absolute path.
    
            Backport of http://review.gluster.org/#/c/11738/
    
    Cherry picked from commit 06c3cf61249e05ae1212a43d5fc1db57bad5f718
    > Change-Id: I2c3d34bfdc7b924d00b11f8649b73a5069cbc2dc
    > BUG: 1245558
    > Signed-off-by: Manikandan Selvaganesh <mselvaga>
    > Reviewed-on: http://review.gluster.org/11738
    > Tested-by: NetBSD Build System <jenkins.org>
    > Tested-by: Gluster Build System <jenkins.com>
    > Reviewed-by: Vijaikumar Mallikarjuna <vmallika>
    > Reviewed-by: Raghavendra G <rgowdapp>
    
    Change-Id: I2c3d34bfdc7b924d00b11f8649b73a5069cbc2dc
    BUG: 1252873
    Signed-off-by: Manikandan Selvaganesh <mselvaga>
    Reviewed-on: http://review.gluster.org/11899
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 3 Kaushal 2015-09-09 09:39:24 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.4, please open a new bug report.

glusterfs-3.7.4 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/12496
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.