1. Who is the customer behind the request?
Account: Red Hat IT/IS
Acct. #: 5243891
Strategic: Yes
2. What is the nature and description of the request?
The --xml option works as expected with # gluster --xml volume heal <volname> info, but not with # gluster --xml volume heal vol01 statistics heal-count (shown below). The request is to make --xml a functional option for these (and any other) heal subcommands.
Example (expected output format):
[root@rhs-c01-n01 ~]# gluster --xml volume heal vol01 info
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
<healInfo>
<bricks>
<brick hostUuid="169880d5-0706-4674-9f28-22c055ec10e5">
<name>rhs-c01-n01.qa.int.phx1.redhat.com:/rhgs/vol01/brick01/fs</name>
<status>Connected</status>
<numberOfEntries>0</numberOfEntries>
</brick>
Example of non-functional --xml option:
[root@rhs-c01-n01 ~]# gluster --xml volume heal vol01 statistics heal-count
Gathering count of entries to be healed on volume vol01 has been successful
Brick rhs-c01-n01.qa.int.phx1.redhat.com:/rhgs/vol01/brick01/fs
Number of entries: 0
Brick rhs-c01-n02.qa.int.phx1.redhat.com:/rhgs/vol01/brick01/fs
Number of entries: 0
Brick rhs-c01-n03.qa.int.phx1.redhat.com:/rhgs/vol01/brick01/fs
Number of entries: 0