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:
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.
Merged in master with http://review.gluster.org/#/c/10065/
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/101281/
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
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