Bug 1297490 - NPE is thrown in host setup networks dialog when trying configuring a host of higher version than the engine one
Summary: NPE is thrown in host setup networks dialog when trying configuring a host of...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 3.6.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.3
: 3.6.3.1
Assignee: Yevgeny Zaspitsky
QA Contact: Michael Burman
URL:
Whiteboard:
: 1303600 1305892 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-11 16:06 UTC by Yevgeny Zaspitsky
Modified: 2016-02-18 11:18 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-18 11:08:13 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-3.6.z+
rule-engine: exception+
ylavi: planning_ack+
danken: devel_ack+
myakove: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 52926 0 master MERGED webadmin: use the cluster version rather than host one 2016-02-01 18:16:32 UTC
oVirt gerrit 52943 0 ovirt-engine-3.6 MERGED webadmin: use the cluster version rather than host one 2016-02-02 09:44:25 UTC
oVirt gerrit 52945 0 ovirt-engine-3.6.3 MERGED webadmin: use the cluster version rather than host one 2016-02-02 09:46:16 UTC

Description Yevgeny Zaspitsky 2016-01-11 16:06:04 UTC
Description of problem:
NPE is thrown when trying configuring networks on a host with VDSM version higher than the engine one. That happens because the code tries to a config value for the host version, which is not exists in the engine DB (as that is considered as a future one relative to the engine), instead of checking cluster support level (which could not be unknown/new to the engine).

Version-Release number of selected component (if applicable):
engine 3.6
vdsm - master (4.0)

How reproducible:
100%

Steps to Reproduce:
1. Install a v4.0 host to engine 3.6
2. try to open setup networks dialog for the newly installed host
3.

Actual results:
The gear spins endlessly an NPE appears in the browser console log.

Expected results:
An exception should not be thrown and the dialog should appear flawlessly.

Additional info:
The NPE happens in org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkOperationFactory:138 when trying cast the null value returned by AsyncDataProvider.isNetworkExclusivenessPermissiveValidation.

Comment 1 Yevgeny Zaspitsky 2016-02-01 18:50:10 UTC
*** Bug 1303600 has been marked as a duplicate of this bug. ***

Comment 2 Michael Burman 2016-02-15 09:28:01 UTC
Verified on - 3.6.3.1-0.1.el6 with vdsm-4.17.999-593.git2452685.el7.centos.noarch(nightly 4.0)

Comment 3 Yevgeny Zaspitsky 2016-02-18 11:18:46 UTC
*** Bug 1305892 has been marked as a duplicate of this bug. ***


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