Bug 1328463

Summary: creating a new vm from templates tab overrides template's initialization parameters
Product: [oVirt] ovirt-engine Reporter: sefi litmanovich <slitmano>
Component: Frontend.WebAdminAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.0CC: bugs, elavarde, mgoldboi, sbonazzo, tjelinek
Target Milestone: ovirt-4.0.0-betaFlags: rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:38:56 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:

Description sefi litmanovich 2016-04-19 12:57:14 UTC
Version-Release number of selected component (if applicable):
ovirt-engine-4.0.0-0.0.master.20160405102116.git3819ab7.el7.centos.noarch

How reproducible:
always

Steps to Reproduce:
1. Create a template -> fill some initialization params (Initial-run sub tab in new template menu). 
2. from Templates tab in engine, choose the new template and choose New Vm from sub tab's options.

Actual results:
The new vm menu is open, template is set to the chosen template from which the new vm action was invoked, but in Initial-run sub tab all the templates initialization params are empty.

Expected results:
All initialization params that were filled on template level are inherited to the new vm menu.

Additional info:
If vm creation is invoked from the VM tab and in new vm menu the template is chosen, then it's initialization parms ARE inherited as expected.
This bug doesn't block but is related to RFE https://bugzilla.redhat.com/show_bug.cgi?id=1253710

Comment 1 Tomas Jelinek 2016-05-04 08:38:40 UTC
*** Bug 1332489 has been marked as a duplicate of this bug. ***

Comment 2 sefi litmanovich 2016-07-04 12:11:10 UTC
Verified with rhevm-4.0.2-0.2.rc1.el7ev.noarch according to steps in description. Vm inherits init params from template when invoked by template tab -> New Vm option, also by creating a new vm and specifying the template in new vm menu.

Comment 3 Sandro Bonazzola 2016-07-05 07:38:56 UTC
oVirt 4.0.0 has been released, closing current release.