Bug 864502 - gluster volume geo-replication stop --xml outputs wrong xml structure
Summary: gluster volume geo-replication stop --xml outputs wrong xml structure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Kaushal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-09 13:19 UTC by Bala.FA
Modified: 2015-11-23 02:57 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:09:31 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Bala.FA 2012-10-09 13:19:12 UTC
Current output:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <volGeoRep>
    <cmd-str>volume geo-replication music /tmp/t stop stop</cmd-str>
    <type>2</type>
    <slave>/tmp/t</slave>
    <master>music</master>
    <host-uuid>69dded11-dca1-4fec-869d-56db783e9e7e</host-uuid>
    <vol-id>b3114c71-741b-4c6f-a39e-80384c4ea3cf</vol-id>
    <glusterd_workdir>/var/lib/glusterd</glusterd_workdir>
  </volGeoRep>
</cliOutput>

Expected output:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
</cliOutput>

Comment 1 Kaushal 2012-11-23 06:51:43 UTC
Patch under review at http://review.gluster.org/4217

Comment 2 Kaushal 2012-11-26 06:41:50 UTC
CHANGE: http://review.gluster.org/4217 (cli: XML output for "geo-replication <VOL> {start|stop}") merged in master by Vijay Bellur (vbellur)


Note You need to log in before you can comment on or make changes to this bug.