Bug 1699484

Summary: UI error when editing 4.3.2 Host in ovirt
Product: [oVirt] ovirt-engine Reporter: Kevin Maaske <kmaaske>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.2CC: bugs, gshereme
Target Milestone: ---   
Target Release: ---   
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: 2019-04-15 13:02:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kevin Maaske 2019-04-12 21:25:20 UTC
Description of problem:


Version-Release number of selected component (if applicable):
ng-node 4.3.2
web browsers: 
Firefox 60.6.1 esr
Chrome 73.0.3683.86

How reproducible:
Was able to reproduce in both upgrade from 4.2.8 hosted-engine el7 ng node cluster to 4.3.2 and clean build of Hosted engine 4.3.2 el7 ng node cluster

Steps to Reproduce:
1.Install ovirt-node-4.3.2-2019012210.iso
2.Using cockpit yum upgrade and install hosted-engine 
3.In new hosted engine change name of Data Center from Default to ?????
4.Go to Hosts and highlight a host. Click Edit. 
5. Error: Uncaught exception occured.Please try reloading the page. Details (TypeError): oab(...) is null

Actual results:
Edit Host panel acts as normal but cannot click OK unless Host is in maintenance.
Under General Data Center: undefined

Expected results:
Editing a Host in 4.2.8 gave no ui error and "Data Center" listed the name of the data center the cluster belonged to. 

Additional info:
Upgrading from 4.2.8 to 4.3.2 gave the same results in both web browsers

Comment 1 Greg Sheremeta 2019-04-14 06:31:41 UTC
Please attach ui.log from the server.

Probably a duplicate of Bug 1690268

Comment 2 Kevin Maaske 2019-04-15 13:00:51 UTC
2019-04-15 07:44:53,246-05 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-12) [] Permutation name: 0D2DB7A91B469CC36C64386E5632FAC5
2019-04-15 07:44:53,246-05 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-12) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : oab(...) is null
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.host.HostPopupView.$lambda$0(HostPopupView.java:693)
	at org.ovirt.engine.ui.webadmin.section.main.view.popup.host.HostPopupView$lambda$0$Type.eventRaised(HostPopupView.java:693)
	at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
	at org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:82)
	at org.ovirt.engine.ui.uicommonweb.models.ListModel.setSelectedItem(ListModel.java:78)
	at org.ovirt.engine.ui.uicommonweb.models.ListModel.itemsChanged(ListModel.java:236)
	at org.ovirt.engine.ui.uicommonweb.models.ListModel.$itemsChanged(ListModel.java:224)
	at org.ovirt.engine.ui.uicommonweb.models.ListModel.$setItems(ListModel.java:102)
	at org.ovirt.engine.ui.uicommonweb.models.hosts.HostModel.$updateClusterList(HostModel.java:1037)
	at org.ovirt.engine.ui.uicommonweb.models.hosts.HostModel.$lambda$13(HostModel.java:1017)
	at org.ovirt.engine.ui.uicommonweb.models.hosts.HostModel$lambda$13$Type.onSuccess(HostModel.java:1017)
	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.onreadystatechange<(https://ovirt.fes.org/ovirt-engine/webadmin/?locale=en_US#hosts)
	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.Su/<(https://ovirt.fes.org/ovirt-engine/webadmin/?locale=en_US#hosts)
	at Unknown.anonymous(Unknown)

Comment 3 Greg Sheremeta 2019-04-15 13:02:25 UTC
Thanks, indeed a duplicate of 1690268

*** This bug has been marked as a duplicate of bug 1690268 ***