Bug 1183920 - cli crashes when listing quota limits with xml output
Summary: cli crashes when listing quota limits with xml output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: RHGS 3.0.4
Assignee: Sachin Pandit
QA Contact: Saurabh
URL:
Whiteboard:
Depends On:
Blocks: 1182947 1185259 1200297 1231641
TreeView+ depends on / blocked
 
Reported: 2015-01-20 08:36 UTC by Vijaikumar Mallikarjuna
Modified: 2016-09-17 12:43 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.6.0.46-1
Doc Type: Bug Fix
Doc Text:
Previously, when listing quota limits with an xml output, the CLI crashed. With this fix, the issue is now resolved.
Clone Of:
: 1185259 (view as bug list)
Environment:
Last Closed: 2015-03-26 06:35:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0682 0 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #4 2015-03-26 10:32:55 UTC

Description Vijaikumar Mallikarjuna 2015-01-20 08:36:49 UTC
oot@rh1:~ # gluster volume quota vol1  list --xml
gluster: cli-xml-output.c:2898: cli_xml_output_vol_quota_limit_list: Assertion `limit_list' failed.
Aborted (core dumped)

Comment 3 Saurabh 2015-02-23 10:04:49 UTC
test done to verfiy the bug is this.
1. create a volume of 6x2 type.
2. mount the volume on the nfs
3. enable quota
4. set limit
5. do a list with xml option.

gluster volume quota vol0 list --xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
  <volQuota/>
</cliOutput>
                  Path                   Hard-limit Soft-limit   Used  Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
/                                        100.0GB       80%      72.1MB  99.9GB              No                   No


build used is this one,
glusterfs-3.6.0.45-1.el6rhs.x86_64

Comment 5 errata-xmlrpc 2015-03-26 06:35:31 UTC
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/RHBA-2015-0682.html


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