Bug 854485
Summary: | [RESTAPI] Can't create a VM cloned from template | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Michael Pasternak <mpastern> |
Component: | ovirt-engine-restapi | Assignee: | Michael Pasternak <mpastern> |
Status: | CLOSED WORKSFORME | QA Contact: | Attila Darazs <adarazs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.1.0 | CC: | bazulay, bdagan, dyasny, ecohen, iheim, mkenneth, mpastern, Rhev-m-bugs, sgrinber, ykaul |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | virt | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-10-03 07:39:25 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: |
i cannot reproduce this [oVirt shell (connected)]# add vm --template-name iscsi_desktop_tmpl --cluster-name Default_iscsi --name aaa --disks-clone true produce correct xml. <vm>\n <name>aaa</name>\n <cluster>\n <name>Default_iscsi</name>\n </cluster>\n <template>\n <name>iscsi_desktop_tmpl</name>\n </template>\n <disks>\n <clone>true</clone>\n </disks>\n </vm>\n' |
On 09/04/2012 06:15 PM, Simon Grinberg wrote: > 13. CLI: Can't create a VM cloned from template, --disks-clone accepts any value and then ignores it. > > [241] create vm --template-name BaseRHEL6 --name myRHELCloned1 --cluster-name Default --disks-clone > [246] create vm --template-name BaseRHEL6 --name myRHELCloned --cluster-name Default --disks-clone thin > [247] create vm --template-name BaseRHEL6 --name myRHELCloned4 --cluster-name Default --disks-clone true > [248] create vm --template-name BaseRHEL6 --name myRHELCloned5 --cluster-name Default --disks-clone True > > All accepted and ignored, VM is always a snapshot from the template, no problem with doing clone from Template in the GUI.