Bug 1185259 - 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: mainline
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Sachin Pandit
QA Contact:
URL:
Whiteboard:
Depends On: 1183920
Blocks: 1200297 1231641
TreeView+ depends on / blocked
 
Reported: 2015-01-23 10:33 UTC by Sachin Pandit
Modified: 2015-06-15 07:01 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.7.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 1183920
: 1200297 1231641 (view as bug list)
Environment:
Last Closed: 2015-05-14 17:29:03 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Anand Avati 2015-01-23 10:34:39 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix quota list xml output.) posted (#1) for review on master by Sachin Pandit (spandit)

Comment 2 Anand Avati 2015-01-23 10:35:09 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix quota list xml output.) posted (#2) for review on master by Sachin Pandit (spandit)

Comment 3 Anand Avati 2015-01-27 06:13:39 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix quota list xml output.) posted (#3) for review on master by Sachin Pandit (spandit)

Comment 4 Anand Avati 2015-02-02 09:41:23 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix quota list xml output.) posted (#4) for review on master by Sachin Pandit (spandit)

Comment 5 Anand Avati 2015-02-03 07:06:28 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix quota list xml output.) posted (#5) for review on master by Sachin Pandit (spandit)

Comment 6 Anand Avati 2015-02-03 09:56:12 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command.) posted (#6) for review on master by Sachin Pandit (spandit)

Comment 7 Anand Avati 2015-02-16 07:55:26 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command.) posted (#7) for review on master by Sachin Pandit (spandit)

Comment 8 Anand Avati 2015-02-17 07:01:07 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command.) posted (#8) for review on master by Sachin Pandit (spandit)

Comment 9 Anand Avati 2015-02-17 07:21:44 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command.) posted (#9) for review on master by Sachin Pandit (spandit)

Comment 10 Anand Avati 2015-02-17 10:38:00 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command.) posted (#10) for review on master by Sachin Pandit (spandit)

Comment 11 Anand Avati 2015-02-17 10:57:47 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command) posted (#11) for review on master by Sachin Pandit (spandit)

Comment 12 Anand Avati 2015-02-17 13:39:57 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command) posted (#12) for review on master by Sachin Pandit (spandit)

Comment 13 Anand Avati 2015-02-18 08:59:00 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command) posted (#13) for review on master by Sachin Pandit (spandit)

Comment 14 Anand Avati 2015-02-18 10:49:49 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command) posted (#14) for review on master by Sachin Pandit (spandit)

Comment 15 Anand Avati 2015-02-18 11:10:40 UTC
REVIEW: http://review.gluster.org/9481 (features/quota : Fix XML output for quota list command) posted (#15) for review on master by Sachin Pandit (spandit)

Comment 16 Anand Avati 2015-02-19 10:12:39 UTC
COMMIT: http://review.gluster.org/9481 committed in master by Kaushal M (kaushal) 
------
commit f099a87fd36b600ccb8268937d3cd7ca84799f77
Author: Sachin Pandit <spandit>
Date:   Tue Feb 3 05:01:38 2015 +0530

    features/quota : Fix XML output for quota list command
    
    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>
          <hl_exceeded>No</hl_exceeded>
          <sl_exceeded>No</sl_exceeded>
        </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>
          <hl_exceeded>No</hl_exceeded>
          <sl_exceeded>No</sl_exceeded>
        </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>
          <hl_exceeded>No</hl_exceeded>
          <sl_exceeded>No</sl_exceeded>
        </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>

Comment 17 Niels de Vos 2015-05-14 17:29:03 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.0, please open a new bug report.

glusterfs-3.7.0 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/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 18 Niels de Vos 2015-05-14 17:35:49 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.0, please open a new bug report.

glusterfs-3.7.0 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/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 19 Niels de Vos 2015-05-14 17:38:11 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.0, please open a new bug report.

glusterfs-3.7.0 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/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 20 Niels de Vos 2015-05-14 17:45:47 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.0, please open a new bug report.

glusterfs-3.7.0 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/10939
[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.