+++ This bug was initially created as a clone of Bug #845559 +++ gluster volume rebalance stop --xml outputs 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>Stopped rebalance process on volume test1 </output></cliOutput> Expected output is <cliOutput><opRet>0</opRet><opErrno>3</opErrno><opErrstr></opErrstr><cliOp>volRebalance</cliOp><output>Stopped rebalance process on volume test1 </output></cliOutput>
Patch for upstream/master under review at http://review.gluster.org/3869
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 .
Verified in glusterfs-3.4.0qa5-1 # gluster volume rebalance fromclirep stop --xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <cliOutput><opRet>0</opRet><opErrno>115</opErrno><opErrstr></opErrstr><volRebalance><op>2</op><nodeCount>2</nodeCount><node><nodeName>localhost</nodeName><files>49</files><size>0</size><lookups>149</lookups><failures>0</failures><status>3</status></node><node><nodeName>10.70.36.55</nodeName><files>0</files><size>0</size><lookups>0</lookups><failures>0</failures><status>3</status></node><aggregate><files>49</files><size>0</size><lookups>149</lookups><failures>0</failures></aggregate></volRebalance></cliOutput>
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. http://rhn.redhat.com/errata/RHBA-2013-1262.html