Bug 1373204 - [UI] Creating a vm/vmpool from a template with custom cluster compatibility via webadmin results in an infinite loop
Summary: [UI] Creating a vm/vmpool from a template with custom cluster compatibility v...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.0.4
: 4.0.4
Assignee: Tomas Jelinek
QA Contact: sefi litmanovich
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-05 13:29 UTC by sefi litmanovich
Modified: 2016-09-26 12:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-26 12:37:36 UTC
oVirt Team: Virt
Embargoed:
tjelinek: ovirt-4.0.z?
rule-engine: planning_ack?
tjelinek: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
engine log (444.17 KB, application/x-gzip)
2016-09-05 13:29 UTC, sefi litmanovich
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 63305 0 ovirt-engine-4.0 MERGED webadmin: infinite loop in new VM/pool dialog 2016-09-06 09:09:19 UTC
oVirt gerrit 63387 0 ovirt-engine-4.0 MERGED webadmin: infinite loop in new VM/pool dialog 2016-09-06 10:30:40 UTC
oVirt gerrit 63395 0 ovirt-engine-4.0.4 MERGED webadmin: infinite loop in new VM/pool dialog 2016-09-06 11:05:39 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.