[Bugs] [Bug 1331287] New: No xml output on gluster volume heal info command with --xml

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 28 08:21:15 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1331287

            Bug ID: 1331287
           Summary: No xml output on gluster volume heal info command with
                    --xml
           Product: GlusterFS
           Version: mainline
         Component: cli
          Keywords: Triaged
          Severity: low
          Priority: high
          Assignee: bugs at gluster.org
          Reporter: hgowtham at redhat.com
                CC: bugs at gluster.org, mark.dillon3 at gmail.com,
                    mselvaga at redhat.com, pkarampu at redhat.com,
                    purpleidea at gmail.com, sabose at redhat.com
        Depends On: 1063506
            Blocks: 1277939 (Gluster-HC-2), 1313370



+++ This bug was initially created as a clone of Bug #1063506 +++

Description of problem:

"gluster volume heal vol info --xml" does not output XML info as i.e. "gluster
volume info --xml" does.

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

Tested on 3.4.2 installed on ubuntu 13.10 from semiosis PPA. First observed in
3.4.1

How reproducible:

100%

Steps to Reproduce:
1. Setup a replicate volume
2. Type "gluster volume heal vol info --xml"

Actual results:

Same as without --xml

Expected results:

Should parse into tagged xml for use with APIs etc

Additional info:

Here is a sample

root at testrdp:~# gluster volume heal test1 info --xml
Gathering Heal info on volume test1 has been successful

Brick 10.0.1.152:/mnt/gogo
Number of entries: 0

Brick 10.0.1.205:/mnt/gogo
Number of entries: 0
root at testrdp:~#

root at testrdp:~# gluster volume info --xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
<opRet>0</opRet>
<opErrno>0</opErrno>
<opErrstr/>
<volInfo>
<volumes>
<volume>
<name>test1</name>
<id>9dc0c864-84b2-4c6e-8cd9-39e1af272ff3</id>
<status>1</status>
<statusStr>Started</statusStr>
<brickCount>2</brickCount>
<distCount>2</distCount>
<stripeCount>1</stripeCount>
<replicaCount>2</replicaCount>
<type>2</type>
<typeStr>Replicate</typeStr>
<transport>0</transport>
<bricks>
<brick>10.0.1.152:/mnt/gogo</brick>
<brick>10.0.1.205:/mnt/gogo</brick>
</bricks>
<optCount>0</optCount>
<options/>
</volume>
<count>1</count>
</volumes>
</volInfo>
</cliOutput>
root at testrdp:~#

root at testrdp:~# gluster --version
glusterfs 3.4.2 built on Feb 4 2014 23:08:03
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.
root at testrdp:~#

--- Additional comment from  on 2014-09-30 10:55:23 EDT ---

FYI: I have upgraded to 3.5.2 and this is still an issue. However, since false
positive healing on files with lots of IO is fixed in 3.5.2 this issue is not
as big a deal to me. 

Still though, I can imagine someone wanting to use xml output from the heal
info command.

--- Additional comment from Niels de Vos on 2015-05-17 17:59:31 EDT ---

GlusterFS 3.7.0 has been released
(http://www.gluster.org/pipermail/gluster-users/2015-May/021901.html), and the
Gluster project maintains N-2 supported releases. The last two releases before
3.7 are still maintained, at the moment these are 3.6 and 3.5.

This bug has been filed against the 3,4 release, and will not get fixed in a
3.4 version any more. Please verify if newer versions are affected with the
reported problem. If that is the case, update the bug with a note, and update
the version if you can. In case updating the version is not possible, leave a
comment in this bug report with the version you tested, and set the "Need
additional information the selected bugs from" below the comment box to
"bugs at gluster.org".

If there is no response by the end of the month, this bug will get
automatically closed.

--- Additional comment from Sahina Bose on 2015-06-17 06:32:10 EDT ---

We need xml output for volume self heal info, to monitor the self-heal activity
of a volume from oVirt.

Changing the version to 3.7.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1063506
[Bug 1063506] No xml output on gluster volume heal info command with --xml
https://bugzilla.redhat.com/show_bug.cgi?id=1277939
[Bug 1277939] (Gluster-HC-2) [TRACKER] Gluster Hyperconvergence - MVP
https://bugzilla.redhat.com/show_bug.cgi?id=1313370
[Bug 1313370] No xml output on gluster volume heal info command with --xml
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list