Bug 861929
| Summary: | When cloning VM from snapshot, template is required | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Petr Dufek <pdufek> | ||||
| Component: | ovirt-engine-restapi | Assignee: | Ori Liel <oliel> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | RedHat Israel QE <bugzilla-qe-tlv> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.1.0 | CC: | bugzilla-qe-tlv, dyasny, ecohen, iheim, michal.skrivanek, mpastern, Rhev-m-bugs, sgrinber, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | virt | ||||||
| Fixed In Version: | si21 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-04 19:59:27 UTC | 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: | |||||||
| Attachments: |
|
||||||
patch posted upstream: http://gerrit.ovirt.org/#/c/8433/ patch merged upstream: commit bcb90fdb432669adefc290ef4c40f6708e60d3e6 patch posted downstream: https://gerrit.eng.lab.tlv.redhat.com/#/c/2636/ patch merged downstream: b2d8957902cd835a5a66faa89b70038ed7efc800 verified in si21.1 |
Created attachment 619746 [details] log Description of problem: ----------------------- When cloning VM from snapshot, template is required. Version-Release number of selected component (if applicable): ------------------------------------------------------------- rhevm-3.1.0-16.el6ev.noarch Steps to Reproduce: 1. send CREATE request to setup/api/vms with the following body: <vm> <name>vm_from_snapshot</name> <cluster ....... </cluster> <snapshots> .... </snapshots> </vm> - then you will receive complaint about missing template parameter Actual results: --------------- <fault>$ <reason>Incomplete parameters</reason>$ <detail>VM [template.id|name] required for add</detail>$ </fault> Expected results: ----------------- no need of providing template Additional info: ---------------- log with the sent request as well as subsequent response is attached