Bug 1659960
Summary: | [downstream clone - 4.2.8] After upgrade to 4.2, admin portal host interface view does not load | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | RHV bug bot <rhv-bugzilla-bot> |
Component: | ovirt-engine | Assignee: | Ales Musil <amusil> |
Status: | CLOSED ERRATA | QA Contact: | Lucie Leistnerova <lleistne> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.2.7 | CC: | lleistne, ratamir, Rhev-m-bugs, sborella |
Target Milestone: | ovirt-4.2.8 | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.2.8.2 | Doc Type: | Bug Fix |
Doc Text: |
This release ensures that during Red Hat Virtualization Manager upgrades from 4.1 to 4.2.8, the network interfaces display properly on the 4.1 host with the bond defined.
|
Story Points: | --- |
Clone Of: | 1655375 | Environment: | |
Last Closed: | 2019-01-22 12:44:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1655375 | ||
Bug Blocks: |
Description
RHV bug bot
2018-12-17 09:35:24 UTC
It's a code problem, but in the meantime, is there anything unusual about the nics? A field null that usually isn't? 2018-12-03 11:37:46,114+10 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-20) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'a' of null at org.ovirt.engine.ui.webadmin.widget.host.HostNetworkInterfaceListViewItem.$createBodyPanel(HostNetworkInterfaceListViewItem.java:124) at org.ovirt.engine.ui.webadmin.widget.host.HostNetworkInterfaceListViewItem.createBodyPanel(HostNetworkInterfaceListViewItem.java:124) at org.ovirt.engine.ui.common.widget.listgroup.PatternflyListViewItem.PatternflyListViewItem(PatternflyListViewItem.java:77) at org.ovirt.engine.ui.webadmin.widget.host.HostNetworkInterfaceListViewItem.HostNetworkInterfaceListViewItem(HostNetworkInterfaceListViewItem.java:76) at Unknown.new sDy(webadmin-66.js) at org.ovirt.engine.ui.webadmin.section.main.view.tab.host.SubTabHostInterfaceView.$createListViewItem(SubTabHostInterfaceView.java:70) at org.ovirt.engine.ui.webadmin.section.main.view.tab.host.SubTabHostInterfaceView.createListViewItem(SubTabHostInterfaceView.java:70) 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.hosts.HostInterfaceListModel.$setItems(HostInterfaceListModel.java:94) at org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterfaceListModel.$updateItems(HostInterfaceListModel.java:188) at org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterfaceListModel.$lambda$1(HostInterfaceListModel.java:182) at org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterfaceListModel$lambda$1$Type.onSuccess(HostInterfaceListModel.java:182) at org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:227) [frontend.jar:] (Originally by Greg Sheremeta) @Ales, this may be a bug or limitation in PatternflyListView. The results of this search are telling: https://www.google.com/search?q=inurl%3Abugzilla.redhat.com+PatternflyListView (Originally by Greg Sheremeta) OK, I have a clue on why this came up: 1) We know 4.2 admin portal bombs out if speed is null 2) 4.1 vdsm does not report the speed for bond/vlan devices in getCaps Apparently it was added in 4.2 vdsm via this patch? net: Report bond (virtual) speed through net caps I can reproduce the problem by using: * vdsm-4.19.31 * ovirt-engine-4.2.7 * configure a bond using 2 NICs. No matter how many Refresh Capabilities I do, the speed for bond devices is always NULL and the UI throws the exact same exception. vdsm-4.20.44: "bondings": { "bond0": { "ipv6autoconf": true, "addr": "192.168.101.3", "speed": 0, <--------------- "dhcpv6": false, "ipv6addrs": [], "netmask": "255.255.255.0", "active_slave": "eth1", "mtu": "1500", "dhcpv4": true, "switch": "legacy", "ipv4defaultroute": false, "ipv4addrs": [ "192.168.101.3/24" ], "hwaddr": "52:54:00:16:c1:03", "slaves": [ "eth2", "eth1" ], "ipv6gateway": "::", "gateway": "", "opts": { "miimon": "100", "mode": "1" } } }, vdsm-4.19.31: "bond0": { "ipv6autoconf": true, "addr": "192.168.101.3", "ipv4defaultroute": false, <----- no speed here "ipv6addrs": [], "switch": "legacy", "active_slave": "eth1", "mtu": "1500", "dhcpv4": true, "netmask": "255.255.255.0", "dhcpv6": false, "ipv4addrs": [ "192.168.101.3/24" ], "hwaddr": "52:54:00:16:c1:03", "slaves": [ "eth1", "eth2" ], "ipv6gateway": "::", "gateway": "", "opts": { "miimon": "100", "mode": "1" } } }, (Originally by Germano Veit Michel) This affects anybody upgrading Engine to 4.2 before the hosts, asking for exception. (Originally by danken) Yes, I think that this bug needs to be cloned to 4.2.z and backported. I hope that Dominik can do both tomorrow if Martin acks it. (Originally by danken) After engine upgrade 4.1 to 4.2.8, network interfaces shown properly on 4.1 host with bond defined. verified in ovirt-engine-4.2.8.2-0.1.el7ev.noarch When you find other network settings that breaks the view, feel free to reopen this BZ. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0121 |