Bug 1352859

Summary: Hosted engine: Failed to add additional host due to failed to configure management network
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: ovirt-node-plugin-hosted-engineAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED DUPLICATE QA Contact: cshao <cshao>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.5.7CC: dguo, dougsland, fdeutsch, gklein, huzhao, leiwang, stirabos, weiwang, yaniwang, ycui
Target Milestone: ---Keywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 15:16:47 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:
Bug Depends On:    
Bug Blocks: 1352452, 1354596    
Attachments:
Description Flags
all log info none

Description cshao 2016-07-05 09:48:01 UTC
Created attachment 1176336 [details]
all log info

Description of problem:
  Failed to add additional host, it always report "Host hosted_engine_2 installation failed. Failed to configure management network on the host".

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.8-20160630.2.iso
ovirt-node-3.2.3-32.el6.noarch
ovirt-hosted-engine-ha-1.2.10-1.el6ev.noarch
ovirt-hosted-engine-setup-1.2.6.1-1.el6ev.noarch
ovirt-node-plugin-hosted-engine-0.2.0-18.0.el6ev.noarch
ovirt-node-plugin-vdsm-0.2.0-26.el6ev.noarch
rhevm-appliance-20160222.0-1.3.5.ova 


How reproducible:
100%

Steps to Reproduce:
1. Install RHEV-H 6.8 on two hosts.
2. Start first host setup with correct steps.
3. After successful deploy first host, start additional host setup with correct steps.

Actual results:
Failed to add additional host, it always report "Host hosted_engine_2 installation failed. Failed to configure management network on the host".

Expected results:
Add additional host can successful.

Additional info:

Comment 1 cshao 2016-07-05 11:41:44 UTC
Add keyword testblocker, due to this bug, we can't test additional host and migrate part cases.

Comment 2 Simone Tiraboschi 2016-07-05 14:44:50 UTC
This is still related to setupHostNetwork but here we have a NullPointerException on engine side.

Caused by: org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException: java.lang.NullPointerException (Failed with error ENGINE and code 5001)
	at org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:117) [bll.jar:]
	at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:33) [bll.jar:]
	at org.ovirt.engine.core.bll.network.NetworkConfigurator$1.runInTransaction(NetworkConfigurator.java:140) [bll.jar:]
	at org.ovirt.engine.core.bll.network.NetworkConfigurator$1.runInTransaction(NetworkConfigurator.java:136) [bll.jar:]
	at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:210) [utils.jar:]
	at org.ovirt.engine.core.bll.network.NetworkConfigurator.refreshNetworkConfiguration(NetworkConfigurator.java:136) [bll.jar:]
	at org.ovirt.engine.core.bll.InstallVdsInternalCommand.configureManagementNetwork(InstallVdsInternalCommand.java:216) [bll.jar:]
	... 72 more

2016-07-04 05:55:26,156 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-7-thread-19) [5941c545] START, SetVdsStatusVDSCommand(HostName = hosted_engine_2, HostId = d58f6f41-572f-4010-b0dd-7c4c2b29e98e, status=NonOperational, nonOperationalReason=NONE, stopSpmFailureLogged=false), log id: 7d62ecaa
2016-07-04 05:55:26,178 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-7-thread-19) [5941c545] FINISH, SetVdsStatusVDSCommand, log id: 7d62ecaa
2016-07-04 05:55:26,227 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-19) [5941c545] Correlation ID: 5941c545, Job ID: 51ac7283-a94b-46bb-8927-cefa7c7dd8db, Call Stack: null, Custom Event ID: -1, Message: Host hosted_engine_2 installation failed. Failed to configure management network on the host.

Comment 3 Simone Tiraboschi 2016-07-05 15:16:47 UTC

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