Bug 915285

Summary: [RESTAPI] Creating template by specifing vm name, does not work
Product: Red Hat Enterprise Virtualization Manager Reporter: Ondra Machacek <omachace>
Component: ovirt-engine-restapiAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, dyasny, iheim, michal.skrivanek, mpastern, oramraz, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: sf13.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

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