Bug 845561

Summary: gluster volume rebalance status --xml ouputs wrong xml structure
Product: [Community] GlusterFS Reporter: Bala.FA <barumuga>
Component: cliAssignee: Kaushal <kaushal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: dpati, gluster-bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 849298 (view as bug list) Environment:
Last Closed: 2013-07-24 17:21:57 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: 849298, 858465    

Description Bala.FA 2012-08-03 12:41:22 UTC
current output is
                                    Node Rebalanced-files          size       scanned      failures         status run time in secs
                               ---------      -----------   -----------   -----------   -----------   ------------    -----------
                               localhost                0            0            0            0      completed           1.00
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput><opRet>0</opRet><opErrno>3</opErrno><opErrstr></opErrstr><cliOp>volRebalance</cliOp><output></output></cliOutput>


expected output is
<cliOutput>
  <opRet>0</opRet>
  <opErrno>3</opErrno>
  <opErrstr></opErrstr>
  <REBALANCE OUTPUT IN PROPER XML HERE>
</cliOutput>

Comment 1 Kaushal 2012-10-10 07:21:03 UTC
Patch under review at http://review.gluster.org/3869

Comment 2 Kaushal 2012-10-12 03:50:11 UTC
Fixed by commit f1f3d1c (cli: Changes and enhancements to XML output) for bug https://bugzilla.redhat.com/show_bug.cgi?id=828131 . Reviewed at http://review.gluster.org/3869 .