Bug 1063891 - OVF is not exposed for snapshot using REST API
Summary: OVF is not exposed for snapshot using REST API
Keywords:
Status: CLOSED DUPLICATE of bug 1047965
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-api
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.1
Assignee: Juan Hernández
QA Contact: bugs@ovirt.org
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-11 15:27 UTC by Arik
Modified: 2016-02-10 20:07 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-12 16:18:03 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)

Description Arik 2014-02-11 15:27:40 UTC
Description of problem:
Using GET request with All-Content header which is set to true, we should also get the configuration of the VM as OVF.
It doesn't seems to work.
It works well for the snapshots collection (/api/vms/GUID/snapshots) but not for the single snapshot (/api/vms/GUID/snapshots/GUID)

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


How reproducible:
100%


Steps to Reproduce:
1. set header All-Content to true
2. send GET request on /api/vms/<GUID1>/snapshots/<GUID2>
3.

Actual results:
The result doesn't contain the VM configuration (OVF)

Expected results:
The result should contain the VM configuration

Additional info:

Comment 1 Juan Hernández 2014-02-11 15:42:53 UTC
What specific snapshot are you using to test this? May it be the active VM? The active VM doesn't currently include the VM information, and bug 1047965 is opened to fix that.

Any snapshot other than the active VM should return the OVF correctly, at least it does in my environment. Can you please double check?

If this works correctly please close this bug as a duplicate of bug 1047965.

Comment 2 Arik 2014-02-12 16:18:03 UTC

*** This bug has been marked as a duplicate of bug 1047965 ***


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