Bug 977322 - rest-api: Missing node <snapshot_states> in /api/capabilities
Summary: rest-api: Missing node <snapshot_states> in /api/capabilities
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.2.0
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
: 3.3.0
Assignee: Ori Liel
QA Contact: Elena
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-24 10:20 UTC by Jakub Libosvar
Modified: 2016-02-10 19:40 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
/api/capabilities now lists the state of snapshots, for example "locked" or "ok".
Clone Of:
Environment:
Last Closed: 2013-08-27 06:21:00 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:0038 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Virtualization Manager 3.3.0 update 2014-01-21 22:03:06 UTC

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.


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