Bug 1167252 - [rfe] glusterfs snapshot cli commands should provide xml output.
Summary: [rfe] glusterfs snapshot cli commands should provide xml output.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: snapshot
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHGS 3.3.0
Assignee: Avra Sengupta
QA Contact: Anil Shah
URL:
Whiteboard: SNAPSHOT
Depends On:
Blocks: 1207604 1245928 1417138
TreeView+ depends on / blocked
 
Reported: 2014-11-24 10:16 UTC by Darshan
Modified: 2017-09-21 04:53 UTC (History)
9 users (show)

Fixed In Version: glusterfs-3.8.4-19
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1207604 (view as bug list)
Environment:
Last Closed: 2017-09-21 04:25:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2774 0 normal SHIPPED_LIVE glusterfs bug fix and enhancement update 2017-09-21 08:16:29 UTC

Description Darshan 2014-11-24 10:16:51 UTC
Description of problem:
     glusterfs snapshot cli commands should provide xml output. vdsm will parse the xml output provided by the glusterfs snapshot commands, which in turn will be consumed by RHSC for providing snapshot management through console.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Avra Sengupta 2015-08-24 08:31:05 UTC
Only snapshot clone --xml needs to be implemented, as rest of the commands look fine, or have their own respective bugs to address any issue.

Comment 9 Avra Sengupta 2016-09-15 09:55:37 UTC
Merged in master with http://review.gluster.org/#/c/10065/

Comment 13 Atin Mukherjee 2017-03-24 08:33:33 UTC
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/101281/

Comment 15 Anil Shah 2017-04-24 12:37:37 UTC
Done basic sanity of RFE, looks Ok.

[root@dhcp43-49 yum.repos.d]# gluster snapshot clone clone1
snap0_GMT-2017.04.24-12.29.18 --xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cliOutput>
  <opRet>0</opRet>
  <opErrno>0</opErrno>
  <opErrstr/>
  <CloneCreate>
    <volume>
      <name>clone1</name>
      <uuid>1432023a-f0bc-4676-b9f0-af76b8ccfcb8</uuid>
    </volume>
  </CloneCreate>
</cliOutput>

Bug verified on build glusterfs-3.8.4-23.el7rhgs.x86_64

Comment 17 errata-xmlrpc 2017-09-21 04:25:52 UTC
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.

https://access.redhat.com/errata/RHBA-2017:2774

Comment 18 errata-xmlrpc 2017-09-21 04:53:56 UTC
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.

https://access.redhat.com/errata/RHBA-2017:2774


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