Bug 915285 - [RESTAPI] Creating template by specifing vm name, does not work
Summary: [RESTAPI] Creating template by specifing vm name, does not work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.2.0
Assignee: Ravi Nori
QA Contact: Ondra Machacek
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-25 11:40 UTC by Ondra Machacek
Modified: 2015-09-22 13:09 UTC (History)
9 users (show)

Fixed In Version: sf13.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 12426 0 None None None Never
oVirt gerrit 13375 0 None None None Never

Description Ondra Machacek 2013-02-25 11:40:09 UTC
Description of problem:
Creating template by specifing vm name, does not work, works only when vm id is specified.

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

How reproducible:
always

Steps to Reproduce:
1. Run command in Additional info.
  
Actual results:
<fault>
    <reason>Operation Failed</reason>
    <detail>query execution failed due to insufficient permissions.</detail>
</fault>

Expected results:
Template created.

Additional info:

curl -k -X POST -H "Accept: application/xml" -H "Content-Type: application/xml"  -H "Filter: $filter"\
    -d "<template><name>temp</name><vm><name>vm</name></vm></template>" \
    -u $U https://url:443/api/templates/

bug 910092

Comment 3 Itamar Heim 2013-06-11 09:31:38 UTC
3.2 has been released

Comment 4 Itamar Heim 2013-06-11 09:32:59 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 09:48:47 UTC
3.2 has been released


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