Bug 1752123 - Error on VMs admin page on Chromium: "Cannot read property 'isEval' of undefined"
Summary: Error on VMs admin page on Chromium: "Cannot read property 'isEval' of undefi...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.3.5.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.4.1
: ---
Assignee: bugs@ovirt.org
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks: 1759102
TreeView+ depends on / blocked
 
Reported: 2019-09-13 18:17 UTC by Emanuel Evans
Modified: 2020-06-26 16:21 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
: 1759102 (view as bug list)
Environment:
Last Closed: 2019-12-11 16:09:09 UTC
oVirt Team: UX
Embargoed:
sbonazzo: ovirt-4.4?


Attachments (Terms of Use)
engine and ui log, test results (8.43 KB, text/plain)
2019-09-16 14:08 UTC, Evert Nagel
no flags Details

Description Emanuel Evans 2019-09-13 18:17:33 UTC
Description of problem:

On Chromium 76.0.3809.132, when I log into the oVirt engine and navigate to "Compute -> Virtual Machines", no VMs are visible and I get a JavaScript error:

> Uncaught exception occurred. Please try reloading the page. Details: (TypeError) : Cannot read property 'isEval' of undefined
> Please have your administrator check the UI logs

The error doesn't appear in Firefox 69.0. 

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

Chromium: 76.0.3809.132
oVirt: 4.3.5.5-1.el7 (hosted engine)

How reproducible:

Very on my setup (not sure if it's setup-related).

Steps to Reproduce:
1. Log into web admin as an administrator
2. Navigate to Compute -> Virtual Machines

Actual results:

Error message described above. JS console shows an obfuscated stack trace:

> SEVERE: Uncaught exception (3x)
> com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'isEval' of undefined
> 	at Unknown.getOriginatingScriptUrl(<anonymous>)
> 	at Unknown.toDataURL(<anonymous>)
>
> jOe @ webadmin-0.js:20517
> s5f @ webadmin-0.js:19756
> r5f @ webadmin-0.js:15153
> A5f @ webadmin-0.js:13407
> m3m @ webadmin-0.js:18766
> Uen @ webadmin-0.js:15733
> bfn @ webadmin-0.js:20522
> Zu @ webadmin-0.js:17421
> wv @ webadmin-0.js:18936
> mv @ webadmin-0.js:16376
> Wu @ webadmin-0.js:15181
> Vu @ webadmin-0.js:19018
> (anonymous) @ webadmin-0.js:15563
> d @ webadmin-0.js:17255
> setTimeout (async)
> d @ webadmin-0.js:17255


Expected results:

VMs are shown and there's no error messages.

Additional info:

Comment 1 Sharon Gratch 2019-09-16 10:44:01 UTC
This is not reproduced to me. Can you please attach engine and ui logs once it occurs? 
In addition, please try to clear the browser cache and see if it's reproduced.

Comment 2 Sharon Gratch 2019-09-16 10:48:18 UTC
Does other views except the VMs (Clusters, Templates) work for you under the Compute menu?

Comment 3 Evert Nagel 2019-09-16 14:08:18 UTC
Created attachment 1615547 [details]
engine and ui log, test results

Same issue observed, this was already happening with 4.2, remained after update to 4.3.
Log shows successfull login/test with Firefox at 15:43, then errors with Chrome. Both generate error about "SpiceVersion.txt".

Clearing cache, or disabling through DevTools does not make a difference.

Firefox works, other Compute menu items are fine.

Storage-Disks shows another error, not sure if related:
Mon Sep 16 15:55:25 GMT+200 2019 org.ovirt.engine.ui.uicompat.EnumTranslator
WARNING: Missing Enum resource 'V5'. Cannot find constant 'StorageFormatType___V5'; expecting a method name

Comment 4 Sharon Gratch 2019-09-18 16:21:45 UTC
Since this issue was started at 4.2 then I guess it will be hard to reproduce. I suggest installing 4.3.6 on a clean environment and see if reproduced.


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