Red Hat Bugzilla – Bug 1297490
NPE is thrown in host setup networks dialog when trying configuring a host of higher version than the engine one
Last modified: 2016-02-18 06:18:46 EST
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):
vdsm - master (4.0)
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
The gear spins endlessly an NPE appears in the browser console log.
An exception should not be thrown and the dialog should appear flawlessly.
The NPE happens in org.ovirt.engine.ui.uicommonweb.models.hosts.network.NetworkOperationFactory:138 when trying cast the null value returned by AsyncDataProvider.isNetworkExclusivenessPermissiveValidation.
*** Bug 1303600 has been marked as a duplicate of this bug. ***
Verified on - 22.214.171.124-0.1.el6 with vdsm-4.17.999-593.git2452685.el7.centos.noarch(nightly 4.0)
*** Bug 1305892 has been marked as a duplicate of this bug. ***