Bug 1520387 - Re-initialize data center from unattached domain does not function. "Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'className' of undefined"
Summary: Re-initialize data center from unattached domain does not function. "Uncaught...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: shani
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-04 12:01 UTC by Elad
Modified: 2017-12-20 10:51 UTC (History)
4 users (show)

Fixed In Version: ovirt-engine-4.2.0.1
Clone Of:
Environment:
Last Closed: 2017-12-20 10:51:05 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+


Attachments (Terms of Use)
ui.log, engine.log and server.log (265.30 KB, application/x-gzip)
2017-12-04 12:01 UTC, Elad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 85123 0 master MERGED webadmin: Fix view for re-initializing data center 2017-12-06 15:51:22 UTC

Description Elad 2017-12-04 12:01:34 UTC
Created attachment 1362651 [details]
ui.log, engine.log and server.log

Description of problem:
Cannot re-initialize data center from unattached domain. In ui.log I got the following exception:

2017-12-04 13:47:22,810+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-15) [] Permutation name: 55FF90143BFA65053788DBB73BDE6B95
2017-12-04 13:47:22,810+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-15) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) : Cannot read property 'className' of undefined
        at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_151]
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_151]
        at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64) [gwt-servlet.jar:]
        at Unknown.new b0(webadmin-0.js)
        at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) [gwt-servlet.jar:]
        at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127) [gwt-servlet.jar:]
        at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127) [gwt-servlet.jar:]


Version-Release number of selected component (if applicable):
rhvm-4.2.0-0.5.master.el7.noarch
ovirt-engine-webadmin-portal-4.2.0-0.5.master.el7.noarch
google-chrome-stable-61.0.3163.100-1.x86_64
firefox-55.0.3-1.fc25.x86_64

How reproducible:
Always, with Chrome and Firefox

Steps to Reproduce:
1. Click on "Re-initialize data center"


Actual results:
Opertation fails with the mentioned exception in ui.log and with the following in Webadmin:

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

Expected results:
Re-initialize DC should succeed.

Additional info:
ui.log, engine.log and server.log

Comment 1 Allon Mureinik 2017-12-04 13:57:06 UTC
Shani, can you take a look, please?
Is this related to your recent work?

Comment 2 Red Hat Bugzilla Rules Engine 2017-12-04 13:57:12 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 3 shani 2017-12-05 13:51:05 UTC
Hi,
It isn't related to my last changes:
After a check I made, the error message also appears on commit f0b58eeb4c385c2a41ff62e3775eb401b259c906 (which is one commit before my earliest patch).

Still checking for the root cause.

Comment 4 Allon Mureinik 2017-12-14 09:56:09 UTC
This fix is actually included in ovirt-engine-4.2.0.1. Moving to ON_QA.

Comment 5 Elad 2017-12-14 16:03:44 UTC
Re-initialize DC from an unattached domain works as expected via Webadmin.

Used:
rhvm-4.2.0.2-0.1.el7.noarch
ovirt-engine-webadmin-portal-4.2.0.2-0.1.el7.noarch

Comment 6 Sandro Bonazzola 2017-12-20 10:51:05 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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