Description of problem: when a host is added to the engine using vdsm-tool register, approving that host in the UI is throwing the following error 2019-05-02 14:34:16,771-05 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-8) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'a' of undefined at org.ovirt.engine.ui.common.presenter.PluginActionButtonHandler.$getButtons(PluginActionButtonHandler.java:45) at org.ovirt.engine.ui.common.presenter.AbstractTabPresenter.$lambda$0(AbstractTabPresenter.java:46) at org.ovirt.engine.ui.common.presenter.AbstractTabPresenter$lambda$0$Type.execute(AbstractTabPresenter.java:46) at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.SchedulerImpl.$flushPostEventPumpCommands(SchedulerImpl.java:338) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:76) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:140) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:] at Unknown.eval(webadmin-0.js) at Unknown.d(webadmin-0.js) Version-Release number of selected component (if applicable): 4.3.3 How reproducible: 100% Steps to Reproduce: 1. vdsm-tool register engine 2. navigate to the host tab in the administration portal 3. select the host in pending approval 4. click approve Actual results: Cannot read property 'a' of undefined is displayed Expected results: Host edit dialog box is displayed to select the cluster to add the host to Additional info:
I think it is a RHV Host team issue so re-assigning.
Martin, any clue on this? Doesn't look like something done within node team.
scott, I wasn't able to reproduce, Can you try to reproduce this with the latest 4.3.6 version?
I don't have a location that i can test an RC build at the moment, however, I can confirm that the issue does still occur on 4.3.5. As a note, the environment that this happens does not have gluster installed, we have seen similar behavior in the past steming from the assumption of having gluster.
I can confirm that this issue does indeed still exist on 4.3.6
engine.log does not emit any messages when this error occurs. ==> ui.log <== 2019-10-17 17:14:42,058-05 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-64) [] Permutation name: 627D5F92C40CC5045AA443D826D6E415 2019-10-17 17:14:42,058-05 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-64) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'n' of undefined at org.ovirt.engine.ui.uicommonweb.models.hosts.HostModel.$updateModelFromVds(HostModel.java:1186) at org.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel.$lambda$23(HostListModel.java:1302) at org.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel$lambda$23$Type.onSuccess(HostListModel.java:1302) at org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:227) [frontend.jar:] at org.ovirt.engine.ui.frontend.Frontend$1.onSuccess(Frontend.java:227) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.$onSuccess(OperationProcessor.java:133) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.onSuccess(OperationProcessor.java:133) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:270) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:270) [frontend.jar:] at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198) [gwt-servlet.jar:] at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233) [gwt-servlet.jar:] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:] at Unknown.eval(webadmin-0.js) at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:] at Unknown.eval(webadmin-0.js)
The patch was merged but I'm not sure if it solved the original exception problem since it's not reproduced for me. I will mark the bug as MODIFIED and in case the issue will be reproduced then please re-open.
Verified with ovirt-engine-4.4.0-0.20.master.el7.noarch ovirt-engine-webadmin-portal-4.4.0-0.20.master.el7.noarch Approving host in the Webadmin portal does not cause any UI exception. Tried with a 4.3 host (vdsm-4.30.40-1.el7ev) and approving it to the Default (4.4) cluster as well as to a newly created 4.3 cluster.
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.