Hey Eyal,

Based in the message below, I'd say it probably might be a null pointer exception, 
You can check your ovirt-engine code at 


InstallVdsInternalCommand.java at line 347.
AnsibleExecutor.java at line 155
to debug and understand why NPE was thrown in your case from Java code side(highly unlikely that this is reason but FYI).

Are you trying to add a new host while running the engine in your local, if so can you tell me to which folder it is accessible with respect to the log location mentioned below? 

 /home/engine/ovirt-engine/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20191225105714-10.35.0.158-41ec72c1-88e2-402b-8bb9-f38c678d0bf0.log.


Regards,
Prajith K Prasad

On Wed, Dec 25, 2019, 2:38 PM Eyal Shenitzky <eshenitz@redhat.com> wrote:
Hi,

I am failing to add a new host to my env with the following message:

2019-12-25 10:57:17,587+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-63) [41ec72c1-88e2-402b-8bb9-f38c678d0bf0] EVENT_ID: VDS_INSTALL_FAILED(505), Host 10.35.0.158 installation failed. Failed to execute Ansible host-deploy role: null. Please check logs for more details: /home/engine/ovirt-engine/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20191225105714-10.35.0.158-41ec72c1-88e2-402b-8bb9-f38c678d0bf0.log.

The host is Fedora-30
Ansible version is - 2.9.1
Ansible runner version - 1.3.4

/etc/ansible-runner-service/config.yaml:

--- 
version: 1

target_user: root

playbooks_root_dir: '/home/engine/ovirt-engine/share/ovirt-engine/ansible-runner-service-project'
ssh_private_key: '/home/engine/ovirt-engine/etc/pki/ovirt-engine/keys/engine_id_rsa'
port: 50001
target_user: root


There are no logs at all at the specified location in the error message.
Did someone encounter that issue?

Thanks,

--
Regards,
Eyal Shenitzky
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/KA7EPILRITPL4XGU66D4P3CJOEVGYLOM/