Bug 1366593

Summary: Unable to add RHEV 3.6 compatible host to RHV 4.0
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: Host-DeployAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.0.2.4CC: bugs
Target Milestone: ---Flags: sasundar: planning_ack?
sasundar: devel_ack?
sasundar: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-12 13:20:53 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:
Attachments:
Description Flags
gzipped engine.log none

Description SATHEESARAN 2016-08-12 12:20:30 UTC
Description of problem:
-----------------------
I tried adding RHEV 3.6 compatible host to 3.6 cluster in RHV 4.0.2-4 and hosts are stuck in activating state

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHEV 4.0.2.4-0.1.el7ev

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Create a 3.6 DC in RHV 4.0.2-4
2. Create a 3.6 virt-cluster or gluster-cluster
3. Add a physical host which is compatible with RHEV 3.6 to the newly created 3.6 compatible in cluster in RHV 4.0

Actual results:
----------------
Hosts are stuck in activating state

Expected results:
-----------------
Hosts should get activated

Comment 1 SATHEESARAN 2016-08-12 12:21:17 UTC
Additional info:
----------------

Following errors are seen in engine.log

<snip>
2016-08-12 18:24:12,073 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] (DefaultQuartzScheduler1) [6d663637] Failed in 'GetCapabilitiesVDS' method, for vds: 'Host-New'; host: 'rhs-client15.lab.eng.blr.redhat.com': null
2016-08-12 18:24:12,073 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] (DefaultQuartzScheduler1) [6d663637] Command 'GetCapabilitiesVDSCommand(HostName = Host-New, VdsIdAndVdsVDSCommandParametersBase:{runAsync='true', hostId='01043fe3-6db6-4660-84df-67105beb267d', vds='Host[Host-New,01043fe3-6db6-4660-84df-67105beb267d]'})' execution failed: null
2016-08-12 18:24:12,073 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (DefaultQuartzScheduler1) [6d663637] Failure to refresh Vds runtime info: null
2016-08-12 18:24:12,073 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (DefaultQuartzScheduler1) [6d663637] Exception: java.lang.NullPointerException
2016-08-12 18:24:12,073 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (DefaultQuartzScheduler1) [6d663637] Failed to refresh VDS , vds = 'Host-New' : '01043fe3-6db6-4660-84df-67105beb267d', error = 'null', continuing.
2016-08-12 18:24:12,073 ERROR [org.ovirt.engine.core.vdsbroker.VdsManager] (DefaultQuartzScheduler1) [6d663637] Exception: java.lang.NullPointerException

</snip>

Comment 2 SATHEESARAN 2016-08-12 12:34:12 UTC
vdsm that I was using on this node

vdsm-hook-vmfex-dev-4.17.33-1.el7ev.noarch
vdsm-infra-4.17.33-1.el7ev.noarch
vdsm-python-4.17.33-1.el7ev.noarch
vdsm-yajsonrpc-4.17.33-1.el7ev.noarch
vdsm-4.17.33-1.el7ev.noarch
vdsm-cli-4.17.33-1.el7ev.noarch
vdsm-xmlrpc-4.17.33-1.el7ev.noarch
vdsm-jsonrpc-4.17.33-1.el7ev.noarch

Comment 3 SATHEESARAN 2016-08-12 12:43:18 UTC
RHEVM UI throws the event as follows :
"Host Host-New installation failed. Failed to configure management network on the host."

Comment 4 SATHEESARAN 2016-08-12 12:47:35 UTC
Created attachment 1190380 [details]
gzipped engine.log

Attaching the engine.log ( gzip compressed )

Comment 5 SATHEESARAN 2016-08-12 13:20:53 UTC

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