Bug 1535600 - UI errors when clicking network interfaces or snapshots for hosted engine VM only
Summary: UI errors when clicking network interfaces or snapshots for hosted engine VM ...
Keywords:
Status: CLOSED DUPLICATE of bug 1533214
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: bugs@ovirt.org
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-17 17:45 UTC by James
Modified: 2023-09-14 04:15 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-01-31 13:52:35 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)

Description James 2018-01-17 17:45:49 UTC
In oVirt 4.2 admin interface clicking either "Network Interfaces" or "Snapshots" product an error, but only for the hosted engine VM, not for any other VM.  Most of the other tabs seem to function as expected.  


Error from ui.log when clicking SNAPSHOTS:

2018-01-17 13:42:55,182-04 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-25) [] Permutation name: C1D1FEFE5DCAE683818762C75C501D92
2018-01-17 13:42:55,182-04 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-25) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'a' of null
	at org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListViewItem.$createNicsItemContainerPanel(VmSnapshotListViewItem.java:90)
	at org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListViewItem.$updateValues(VmSnapshotListViewItem.java:387)
	at org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.SubTabVirtualMachineSnapshotView$lambda$0$Type.onSuccess(SubTabVirtualMachineSnapshotView.java:73)
	at org.ovirt.engine.ui.uicommonweb.models.vms.SnapshotModel.$lambda$3(SnapshotModel.java:276)
	at org.ovirt.engine.ui.uicommonweb.models.vms.SnapshotModel$lambda$3$Type.onSuccess(SnapshotModel.java:276)
	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)


---------------------


Error from ui.log when clicking "NETWORK INTERFACES" for hosted engine VM:

018-01-17 13:45:10,080-04 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-19) [] Permutation name: C1D1FEFE5DCAE683818762C75C501D92
2018-01-17 13:45:10,080-04 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-19) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'a' of null
	at Unknown.new pvp(webadmin-141.js)
	at org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.SubTabVirtualMachineNetworkInterfaceView.$createListViewItem(SubTabVirtualMachineNetworkInterfaceView.java:69)
	at org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.SubTabVirtualMachineNetworkInterfaceView.createListViewItem(SubTabVirtualMachineNetworkInterfaceView.java:69)
	at org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView.$updateInfoPanel(PatternflyListView.java:137)
	at org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView.$lambda$1(PatternflyListView.java:63)
	at org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView$lambda$1$Type.eventRaised(PatternflyListView.java:63)
	at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
	at org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.$setItems(SearchableListModel.java:739)
	at org.ovirt.engine.ui.uicommonweb.models.vms.VmInterfaceListModel.$lambda$2(VmInterfaceListModel.java:143)
	at org.ovirt.engine.ui.uicommonweb.models.vms.VmInterfaceListModel$lambda$2$Type.executed(VmInterfaceListModel.java:143)
	at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:319) [frontend.jar:]
	at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:319) [frontend.jar:]
	at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(OperationProcessor.java:170) [frontend.jar:]
	at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(OperationProcessor.java:170) [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)

Comment 1 Greg Sheremeta 2018-01-17 19:46:53 UTC
@Alexander, I suspect something with the PatternFly ListView since it happens in a few places, but if it's a network bug, please move it

createListViewItem(SubTabVirtualMachineNetworkInterfaceView.java:69)

Comment 2 Greg Sheremeta 2018-01-19 14:46:31 UTC
I talked with Alexander offline, and he suspects this is an HE issue. Moving to infra, but please reach out to Alexander if any help is required

Comment 3 Martin Sivák 2018-01-24 12:02:37 UTC
Was hosted engine deployed using the old method or using the brand new node 0.

Comment 4 James 2018-01-24 13:29:10 UTC
I can't say for sure, I did not originally build it unfortunately.  I can tell you that it is not a brand new install, it was recently upgraded from 4.1.  I can also tell you that the HostedEngine VM does not have the name HostedEngine it has a custom name, if that makes any difference at all.  

It appears to have been installed somewhere around early Feb 2016 if that helps.  I have logs in /var/log/ovirt-engine/host-deploy/ that date back that far which could be helpful?

Comment 5 Sachin 2018-01-25 15:17:29 UTC
I have a fresh install system and when I click on "Setup Host Network" under "Network Interface" tab I get errors,
~~~
2018-01-25 09:33:07,862+05 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-61) [] Permutation name: C068E8B2E40A504D3054A1BDCF2A72BB
2018-01-25 09:33:07,863+05 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-61) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: <skipped>: a.q is undefined
	at org.ovirt.engine.ui.uicommonweb.models.hosts.HostSetupNetworksModel.$validate(HostSetupNetworksModel.java:1134)
	at org.ovirt.engine.ui.uicommonweb.models.hosts.HostSetupNetworksModel.$initNicModels(HostSetupNetworksModel.java:669)
	at org.ovirt.engine.ui.uicommonweb.models.hosts.HostSetupNetworksModel$9.$onSuccess(HostSetupNetworksModel.java:997)
	at org.ovirt.engine.ui.uicommonweb.models.hosts.HostSetupNetworksModel$9.onSuccess(HostSetupNetworksModel.java:997)
	at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:233) [frontend.jar:]
	at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:233) [frontend.jar:]
	at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(OperationProcessor.java:139) [frontend.jar:]
	at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(OperationProcessor.java:139) [frontend.jar:]
	at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:269) [frontend.jar:]
	at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:269) [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:237) [gwt-servlet.jar:]
	at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:]
	at Unknown.tKf/c.onreadystatechange<(Unknown Source)
	at com.google.gwt.core.client.impl.Impl.apply(Impl.java:296) [gwt-servlet.jar:]
	at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335) [gwt-servlet.jar:]
	at Unknown.Ix/<(Unknown Source)
	at Unknown.anonymous(Unknown Source)
~~~

~~~
# rpm -qa | grep ovirt-engine
ovirt-engine-dbscripts-4.1.8.2-0.1.el7.noarch
ovirt-engine-tools-4.1.8.2-0.1.el7.noarch
ovirt-engine-webadmin-portal-4.1.8.2-0.1.el7.noarch
ovirt-engine-extensions-api-impl-4.1.8.2-0.1.el7.noarch
ovirt-engine-tools-backup-4.1.8.2-0.1.el7.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7ev.noarch
ovirt-engine-dwh-setup-4.1.8-1.el7ev.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.1.8.2-0.1.el7.noarch
ovirt-engine-setup-plugin-ovirt-engine-4.1.8.2-0.1.el7.noarch
ovirt-engine-restapi-4.1.8.2-0.1.el7.noarch
ovirt-engine-websocket-proxy-4.1.8.2-0.1.el7.noarch
python-ovirt-engine-sdk4-4.1.7-1.el7ev.x86_64
ovirt-engine-cli-3.6.8.1-1.el7ev.noarch
ovirt-engine-dwh-4.1.8-1.el7ev.noarch
ovirt-engine-metrics-1.0.8-1.el7ev.noarch
ovirt-engine-userportal-4.1.8.2-0.1.el7.noarch
ovirt-engine-backend-4.1.8.2-0.1.el7.noarch
ovirt-engine-4.1.8.2-0.1.el7.noarch
ovirt-engine-setup-plugin-websocket-proxy-4.1.8.2-0.1.el7.noarch
ovirt-engine-setup-4.1.8.2-0.1.el7.noarch
ovirt-engine-dashboard-1.1.8-1.el7ev.noarch
ovirt-engine-lib-4.1.8.2-0.1.el7.noarch
ovirt-engine-setup-base-4.1.8.2-0.1.el7.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-4.1.8.2-0.1.el7.noarch
ovirt-engine-extension-aaa-jdbc-1.1.6-1.el7ev.noarch
ovirt-engine-vmconsole-proxy-helper-4.1.8.2-0.1.el7.noarch
~~~

Comment 6 Greg Sheremeta 2018-01-27 22:16:16 UTC
Sachin, please open a separate bug for that. It looks unrelated.

Comment 7 Greg Sheremeta 2018-01-31 13:52:35 UTC
Just noticed this is a dupe of Bug 1533214

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

Comment 8 Red Hat Bugzilla 2023-09-14 04:15:37 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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