Bug 1167252
| Summary: | [rfe] glusterfs snapshot cli commands should provide xml output. | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Darshan <dnarayan> | |
| Component: | snapshot | Assignee: | Avra Sengupta <asengupt> | |
| Status: | CLOSED ERRATA | QA Contact: | Anil Shah <ashah> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rhgs-3.0 | CC: | amukherj, asengupt, ashah, asrivast, mzywusko, rhinduja, rhs-bugs, rjoseph, sankarshan | |
| Target Milestone: | --- | Keywords: | Triaged, ZStream | |
| Target Release: | RHGS 3.3.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | SNAPSHOT | |||
| Fixed In Version: | glusterfs-3.8.4-19 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1207604 (view as bug list) | Environment: | ||
| Last Closed: | 2017-09-21 04:25:52 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1207604, 1245928, 1417138 | |||
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 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 |
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: