Bug 977322

Summary: rest-api: Missing node <snapshot_states> in /api/capabilities
Product: Red Hat Enterprise Virtualization Manager Reporter: Jakub Libosvar <jlibosva>
Component: ovirt-engine-restapiAssignee: Ori Liel <oliel>
Status: CLOSED UPSTREAM QA Contact: Elena <edolinin>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, iheim, jkt, mpastern, oliel, oramraz, pstehlik, Rhev-m-bugs, srevivo, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: All   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
/api/capabilities now lists the state of snapshots, for example "locked" or "ok".
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-27 06:21:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakub Libosvar 2013-06-24 10:20:42 UTC
Description of problem:
/api/capabilities doesn't enumerate states which can snapshots have

Version-Release number of selected component (if applicable):
rhevm-restapi-3.2.1-0.31.el6ev.noarch


How reproducible:
Always

Steps to Reproduce:
1. Go to <rhevm_host>/api/capabilities
2. Search for statuses of snapshots
3.

Actual results:
No enumeration of snapshots' states

Expected results:
Something like:
<snapshot_states>
<snapshot_state>locked</snapshot_state>
<snapshot_state>ok</snapshot_state>
<snapshot_state>something_else</snapshot_state>
</snapshot_states>

Additional info:

Comment 1 Ori Liel 2013-08-12 13:18:23 UTC
patch posted upstream: 

  http://gerrit.ovirt.org/#/c/17970/

Comment 4 Charlie 2013-11-28 00:14:59 UTC
This bug is currently attached to errata RHEA-2013:15231. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.