Bug 1252737

Summary: xml output for volume status on tiered volume
Product: [Community] GlusterFS Reporter: hari gowtham <hgowtham>
Component: tieringAssignee: hari gowtham <hgowtham>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, dlambrig
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1260856 (view as bug list) Environment:
Last Closed: 2016-06-16 13:30:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1260856, 1260923    

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