Bug 1392824

Summary: [UI] - The template name isn't correct in the edit VM dialog
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: BLL.StorageAssignee: Tal Nisan <tnisan>
Status: CLOSED NOTABUG QA Contact: Aharon Canan <acanan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.5.5CC: amureini, bugs, mburman, tjelinek, tnisan
Target Milestone: ovirt-4.0.6Keywords: Regression
Target Release: ---Flags: tnisan: ovirt-4.0.z?
rule-engine: blocker?
mburman: planning_ack?
mburman: devel_ack?
mburman: testing_ack?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-16 08:37:26 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:
Attachments:
Description Flags
screenshot
none
engine log none

Description Michael Burman 2016-11-08 10:15:12 UTC
Created attachment 1218475 [details]
screenshot

Description of problem:
[UI] - The template name isn't correct in the edit VM dialog.

'Blank' template is shown for VMs in the edit VM dialog, although they are based on other templates.

- In the 'General' sub tab the correct template name is shown 

Version-Release number of selected component (if applicable):
4.0.5.5-0.1.el7ev

How reproducible:
100% 

Steps to Reproduce:
1. Create VM based on template. After VM is created, Go to the edit VM dialog and check what is the 'Template' name

Actual results:
The name of the template is 'Blank' template always. 

Expected results:
The template name should be correct. 
Like on the 'General' sub tab

Comment 1 Michael Burman 2016-11-08 10:16:40 UTC
Created attachment 1218476 [details]
engine log

Comment 2 Tal Nisan 2016-11-08 13:05:10 UTC
Just tested that oVirt 4.0.5.5, seems to work fine
can you please double check?

Comment 3 Michael Burman 2016-11-08 14:12:03 UTC
I double checked before reporting this bug on 2 different env..i will show you.

Comment 4 Red Hat Bugzilla Rules Engine 2016-11-08 16:19:49 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 5 Allon Mureinik 2016-11-09 08:42:50 UTC
Tal, why is this on storage and not on virt?

Comment 6 Tal Nisan 2016-11-09 14:01:57 UTC
Good question, now it's on Virt ;)

Comment 7 Tomas Jelinek 2016-11-16 08:37:26 UTC
From the screenshot I see that in subtab the "Template" is "Clone/Independent". It means the VM has been created as clone provisioned from the template, meaning it have lost the attachment to the original template. For this reason the template in the dialog is "Blank". The template name in subtab is just for "informative reasons" from which template the VM has been cloned.

Long story short, this works as designed and it is not a bug.