Bug 1325794

Summary: [nightly 4.0] failed to install host with NullPointerException
Product: [oVirt] ovirt-engine Reporter: Kobi Hakimi <khakimi>
Component: Host-DeployAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.0.0CC: bugs, oourfali
Target Milestone: ---Keywords: AutomationBlocker
Target Release: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-11 12:27:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log file none

Description Kobi Hakimi 2016-04-11 08:34:53 UTC
Created attachment 1145864 [details]
engine.log file

Description of problem:
[nightly 4.0] failed to install host with NullPointerException

Version-Release number of selected component (if applicable):
 oVirt Engine Version: 4.0.0-0.0.master.20160407161554.git4c3b9da.el7.centos 

How reproducible:
Always

Steps to Reproduce:
1. Install the ovirt-engine from nightly repository
2. Add host

Actual results:
The host start and after few seconds get the following errors in GUI:
Failed to install Host host_mixed_4. <UNKNOWN>.
Host host_mixed_4 installation failed. Please refer to /var/log/ovirt-engine/engine.log and log logs under /var/log/ovirt-engine/host-deploy/ for further details..

the errors in engine log file:
2016-04-11 09:10:00,867 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [89e9dd7] Correlation ID: 89e9dd7, Call Stack: null, Custom Event ID: -1, Message: Installing Host host_mixed_4. Logs at host located at: '/tmp/ovirt-host-deploy-20160411090953-ogugqx.log'.
2016-04-11 09:10:00,953 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [89e9dd7] Error during deploy dialog: java.lang.NullPointerException
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployVdsmUnit$1.call(VdsDeployVdsmUnit.java:31) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployVdsmUnit$1.call(VdsDeployVdsmUnit.java:30) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.nextCustomizationEntry(VdsDeployBase.java:251) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.processEvent(VdsDeployBase.java:635) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeploy.processEvent(VdsDeploy.java:35) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.threadMain(VdsDeployBase.java:319) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.lambda$new$0(VdsDeployBase.java:383) [bll.jar:]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_77]

2016-04-11 09:10:00,967 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (org.ovirt.thread.pool-10-thread-7) [89e9dd7] Error during host 10.35.161.197 install: java.lang.NullPointerException
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployVdsmUnit$1.call(VdsDeployVdsmUnit.java:31) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployVdsmUnit$1.call(VdsDeployVdsmUnit.java:30) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.nextCustomizationEntry(VdsDeployBase.java:251) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.processEvent(VdsDeployBase.java:635) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeploy.processEvent(VdsDeploy.java:35) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.threadMain(VdsDeployBase.java:319) [bll.jar:]
        at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.lambda$new$0(VdsDeployBase.java:383) [bll.jar:]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_77]

2016-04-11 09:10:00,983 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-10-thread-7) [89e9dd7] Correlation ID: 89e9dd7, Call Stack: null, Custom Event ID: -1, Message: Failed to install Host host_mixed_4. <UNKNOWN>.
2016-04-11 09:10:00,983 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (org.ovirt.thread.pool-10-thread-7) [89e9dd7] Error during host 10.35.161.197 install, prefering first exception: null
2016-04-11 09:10:00,983 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (org.ovirt.thread.pool-10-thread-7) [89e9dd7] Host installation failed for host 'c9f1c662-8327-4367-b38e-c2f5c9b102f0', 'host_mixed_4': null


Expected results:
to be able to add host to engine.

Additional info:
 - see attached engine.log
 - the folder /var/log/ovirt-engine/host-deploy/ is empty

Comment 1 Oved Ourfali 2016-04-11 12:27:11 UTC

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