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   
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:
Bug Depends On:    
Bug Blocks: 1352452, 1354596    
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):

How reproducible:

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 ***