Bug 1373204

Summary: [UI] Creating a vm/vmpool from a template with custom cluster compatibility via webadmin results in an infinite loop
Product: [oVirt] ovirt-engine Reporter: sefi litmanovich <slitmano>
Component: BLL.VirtAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.4CC: bugs, tjelinek
Target Milestone: ovirt-4.0.4Flags: tjelinek: ovirt-4.0.z?
rule-engine: planning_ack?
tjelinek: devel_ack+
rule-engine: testing_ack+
Target Release: 4.0.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-26 12:37:36 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 sefi litmanovich 2016-09-05 13:29:27 UTC
Created attachment 1197957 [details]
engine log

Description of problem:
Attempting to create a vm/vmpool from a template with custom cluster compatibility via webadmin results in an infinite loop in js script.
in engine.log a warning is issued:

2016-09-05 15:16:02,056 WARN  [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-8) [] File '/usr/shar
e/ovirt-engine/ui-plugins/dashboard-resources/plugin.js.map' is 1467808 bytes long. Please reconsider using this ser
vlet for files larger than 1048576 bytes.


Version-Release number of selected component (if applicable):
rhevm-4.0.4-0.1.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
1. Create a template  - set custom cluster compatibility with some value (can be the same as cluster's default) 
2. Attempt to create a new vm/pool via webadmin - try to set the template to the one created and click 'ok'

Actual results:
The menu is stuck in an infinite loop eventually resulting in a 'unresponsive script' warning.

Expected results:
vm/pool is created successfully with the cluster compatibility level same as template.

Additional info:

Comment 1 sefi litmanovich 2016-09-18 11:22:32 UTC
Verified with rhevm-4.0.4.2-0.1 according to steps in description.