Bug 1325794 - [nightly 4.0] failed to install host with NullPointerException
Summary: [nightly 4.0] failed to install host with NullPointerException
Keywords:
Status: CLOSED DUPLICATE of bug 1325657
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Host-Deploy
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Sandro Bonazzola
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 08:34 UTC by Kobi Hakimi
Modified: 2016-04-11 12:27 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-11 12:27:11 UTC
oVirt Team: Infra
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
engine.log file (146.08 KB, text/plain)
2016-04-11 08:34 UTC, Kobi Hakimi
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.