Bug 1231641 - cli crashes when listing quota limits with xml output
Summary: cli crashes when listing quota limits with xml output
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: 3.5.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Vijaikumar Mallikarjuna
QA Contact:
URL:
Whiteboard:
Depends On: 1183920 1185259
Blocks: 1200297 glusterfs-3.5.5
TreeView+ depends on / blocked
 
Reported: 2015-06-15 07:01 UTC by Vijaikumar Mallikarjuna
Modified: 2016-05-11 22:48 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.5.5
Doc Type: Bug Fix
Doc Text:
Clone Of: 1185259
Environment:
Last Closed: 2015-07-19 19:33:06 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Anand Avati 2015-06-15 07:06:00 UTC
REVIEW: http://review.gluster.org/11220 (features/quota : Fix XML output for quota list command) posted (#1) for review on release-3.5 by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Anand Avati 2015-06-15 08:55:00 UTC
REVIEW: http://review.gluster.org/11220 (features/quota : Fix XML output for quota list command) posted (#2) for review on release-3.5 by Vijaikumar Mallikarjuna (vmallika)

Comment 3 Anand Avati 2015-07-07 16:11:47 UTC
COMMIT: http://review.gluster.org/11220 committed in release-3.5 by Niels de Vos (ndevos) 
------
commit c9e92231e8fb31e6e4a9f061746daaedd77ad1b7
Author: vmallika <vmallika>
Date:   Mon Jun 15 12:31:48 2015 +0530

    features/quota : Fix XML output for quota list command
    
    This is a backport of http://review.gluster.org/#/c/9481/
    
    > Sample output:
    > ---------------
    >
    > Sample 1)
    > ----------
    > [root@snapshot-28 glusterfs]# gluster volume quota vol1 list /dir1 /dir4
    > /dir5 --xml
    > <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    > <cliOutput>
    >   <opRet>0</opRet>
    >   <opErrno>0</opErrno>
    >   <opErrstr/>
    >   <volQuota>
    >     <limit>
    >       <path>/dir1</path>
    >       <hard_limit>10.0MB</hard_limit>
    >       <soft_limit>80%</soft_limit>
    >       <used_space>0Bytes</used_space>
    >       <avail_space>10.0MB</avail_space>
    >     </limit>
    >     <limit>
    >       <path>/dir4</path>
    >       <path>No such file or directory</path>
    >     </limit>
    >     <limit>
    >       <path>/dir5</path>
    >       <path>No such file or directory</path>
    >     </limit>
    >   </volQuota>
    > </cliOutput>
    >
    > Sample 2)
    > ---------
    > gluster volume quota vol1 list --xml
    > <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    > <cliOutput>
    >   <opRet>0</opRet>
    >   <opErrno>0</opErrno>
    >   <opErrstr/>
    >   <volQuota/>
    > </cliOutput>
    > <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    > <cliOutput>
    >   <volQuota>
    >     <limit>
    >       <path>/dir</path>
    >       <hard_limit>10.0MB</hard_limit>
    >       <soft_limit>80%</soft_limit>
    >       <used_space>0Bytes</used_space>
    >       <avail_space>10.0MB</avail_space>
    >     </limit>
    >     <limit>
    >       <path>/dir1</path>
    >       <hard_limit>10.0MB</hard_limit>
    >       <soft_limit>80%</soft_limit>
    >       <used_space>0Bytes</used_space>
    >       <avail_space>10.0MB</avail_space>
    >     </limit>
    >   </volQuota>
    > </cliOutput>
    >
    > Change-Id: I8a8d83cff88f778e5ee01fbca07d9f94c412317a
    > BUG: 1185259
    > Signed-off-by: Sachin Pandit <spandit>
    > Reviewed-on: http://review.gluster.org/9481
    > Reviewed-by: Vijaikumar Mallikarjuna <vmallika>
    > Tested-by: Gluster Build System <jenkins.com>
    > Reviewed-by: Kaushal M <kaushal>
    
    Change-Id: Ibdf51db626a07e68b5ace98140877f6d21918c20
    BUG: 1231641
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/11220
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Sachin Pandit <spandit>
    Reviewed-by: Niels de Vos <ndevos>

Comment 4 Niels de Vos 2015-07-19 19:33:06 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.5.5, please reopen this bug report.

glusterfs-3.5.5 has been announced on the Gluster Packaging mailinglist [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://article.gmane.org/gmane.comp.file-systems.gluster.devel/11986
[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.