[Bugs] [Bug 1335361] New: Fix brick information output in heal info's xml output
bugzilla at redhat.com
bugzilla at redhat.com
Thu May 12 04:48:51 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1335361
Bug ID: 1335361
Summary: Fix brick information output in heal info's xml
output
Product: GlusterFS
Version: mainline
Component: replicate
Assignee: bugs at gluster.org
Reporter: ravishankar at redhat.com
CC: bugs at gluster.org
Description of problem:
Reported by Ramesh Nachimuthu (rnachimu_AT_redhat.com)
When a brick is down, `gluster volume heal volname info` prints the name of the
brick but `gluster volume heal volname info --xml does not.`
[09:54] <RameshN> [root at ovirt-node-1 vdsm]# gluster v heal v1 info --xml
[09:54] <RameshN> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
[09:54] <RameshN> <cliOutput>
[09:54] <RameshN> <healInfo>
[09:54] <RameshN> <bricks>
[09:54] <RameshN> <brick hostUuid="(null)">
[09:54] <RameshN> <name>information not available</name>
[09:54] <RameshN> <status>Transport endpoint is not connected</status>
[09:54] <RameshN> <numberOfEntries>-</numberOfEntries>
[09:54] <RameshN> </brick>
[09:54] <RameshN> <brick hostUuid="f0ef3d05-3ef3-411a-af2c-628b0a14278b">
[09:54] <RameshN> <name>ovirt-node-1.test.com:/brick-2</name>
[09:54] <RameshN> <status>Connected</status>
[09:54] <RameshN> <numberOfEntries>0</numberOfEntries>
[09:54] <RameshN> </brick>
[09:54] <RameshN> <brick hostUuid="f0ef3d05-3ef3-411a-af2c-628b0a14278b">
[09:54] <RameshN> <name>ovirt-node-1.test.com:/brick-3</name>
[09:54] <RameshN> <status>Connected</status>
[09:55] <RameshN> <numberOfEntries>0</numberOfEntries>
[09:55] <RameshN> </brick>
[09:55] <RameshN> </bricks>
[09:55] <RameshN> </healInfo>
[09:55] <RameshN> <opRet>0</opRet>
[09:55] <RameshN> <opErrno>0</opErrno>
[09:55] <RameshN> <opErrstr/>
[09:55] <RameshN> </cliOutput>
[09:55] <RameshN> [root at ovirt-node-1 vdsm]# gluster v heal v1 info
[09:55] <RameshN> Brick ovirt-node-1.test.com:/brick-1
[09:55] <RameshN> Status: Transport endpoint is not connected
[09:55] <RameshN> Number of entries: -
[09:55] <RameshN> Brick ovirt-node-1.test.com:/brick-2
[09:55] <RameshN> Status: Connected
[09:55] <RameshN> Number of entries: 0
[09:55] <RameshN> Brick ovirt-node-1.test.com:/brick-3
[09:55] <RameshN> Status: Connected
[09:55] <RameshN> Number of entries: 0
[09:55] <RameshN> [root at ovirt-node-1 vdsm]
--
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