Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1064001

Summary: engine: clone vm from snapshot will not clone the template origin
Product: [Retired] oVirt Reporter: Dafna Ron <dron>
Component: ovirt-engine-coreAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: gklein, iheim, mavital, michal.skrivanek, rbalakri, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: ovirt-3.5.0-alpha1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:31:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine log none

Description Dafna Ron 2014-02-11 18:30:48 UTC
Created attachment 861929 [details]
engine log

Description of problem:

The new RFE which lists the template origin in the template field does not show the template origin when we create a vm from a snapshot. 

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

ovirt-engine-backend-3.4.0-0.7.beta2.el6.noarch

How reproducible:

100%

Steps to Reproduce:
1. create a vm as a clone from a template 
2. create a snapshot 
3. clone a vm from the snapshot 

Actual results:

the new vm cloned from snapshot shows Blank template as vm template. 

Expected results:

since a snapshot is a leaf on the original disk which is created from a template I thin that we should have the original template shown 
if not we need to find a new solution mark clone from snapshot vms and not list them as blank template.

Additional info:

Comment 1 Itamar Heim 2014-02-16 08:23:33 UTC
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.

Comment 2 Sandro Bonazzola 2014-03-04 09:29:34 UTC
This is an automated message.
Re-targeting all non-blocker bugs still open on 3.4.0 to 3.4.1.

Comment 3 Pavel Novotny 2014-08-05 15:09:00 UTC
Verified in ovirt-engine-3.5.0-0.0.master.20140722232058.git8e1babc.el6.noarch (beta2).

Verification steps (following comment 0):
1. Have a VM template 'vm-template'.
2. Create new VM 'original-vm' based on the template as clone/independent.
3. Create a snapshot on 'original-vm'.
4. Clone new VM 'cloned-vm' from the snapshot.
5. Check which template the 'cloned-vm' depends on.

Result:
'cloned-vm' depends on the same template as 'original-vm', i.e., on 'vm-template' as clone/independent.

Comment 4 Sandro Bonazzola 2014-10-17 12:31:11 UTC
oVirt 3.5 has been released and should include the fix for this issue.