Bug 1252737 - xml output for volume status on tiered volume
Summary: xml output for volume status on tiered volume
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tiering
Version: mainline
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: hari gowtham
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: 1260856 1260923
TreeView+ depends on / blocked
 
Reported: 2015-08-12 07:45 UTC by hari gowtham
Modified: 2016-06-16 13:30 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1260856 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:30:53 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description hari gowtham 2015-08-12 07:45:54 UTC
Description of problem:
The existing xml output for volume status is not sufficient for a tiered volume 

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

How reproducible:
100%

Steps to Reproduce:
1.create a tiered volume.
2.gluster volume rebalance <volume-name> tier status --xml
3.

Actual results:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
  <volRebalance>
    <task-id>e379577e-6346-4ad9-b005-cbf2138609b6</task-id>
    <op>7</op>
  </volRebalance>
</cliOutput>


Expected results:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
  <volRebalance>
    <task-id>34f47e29-2193-4a86-9b1e-c7e56bdae3d4</task-id>
    <op>7</op>
    <nodeCount>1</nodeCount>
    <node>
      <nodeName>localhost</nodeName>
      <promotedfiles>0</promotedfiles>
      <demotedfiles>0</demotedfiles>
      <statusStr>in progress</statusStr>
    </node>
  </volRebalance>
</cliOutput>


Additional info:

Comment 1 Anand Avati 2015-08-12 07:49:46 UTC
REVIEW: http://review.gluster.org/11890 (xml for tiering status volume) posted (#1) for review on master by hari gowtham (hari.gowtham005)

Comment 2 Anand Avati 2015-08-13 06:26:33 UTC
REVIEW: http://review.gluster.org/11890 (xml/tiering: enhance xml output for tiering related cli commands) posted (#2) for review on master by hari gowtham (hari.gowtham005)

Comment 3 Anand Avati 2015-08-13 11:44:48 UTC
REVIEW: http://review.gluster.org/11890 (xml/tiering: enhance xml output for tiering related cli commands) posted (#3) for review on master by hari gowtham (hari.gowtham005)

Comment 4 Anand Avati 2015-08-28 07:48:37 UTC
REVIEW: http://review.gluster.org/11890 (xml/tiering: enhance xml output for tiering status related cli commands) posted (#4) for review on master by hari gowtham (hari.gowtham005)

Comment 5 Niels de Vos 2016-06-16 13:30:53 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.8.0, please open a new bug report.

glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[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.