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-restapi | Assignee: | Ravi Nori <rnori> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ondra Machacek <omachace> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2.0 | CC: | 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: | |||
3.2 has been released 3.2 has been released 3.2 has been released |
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