Here is the errors that are available in journalctl:
Dec 25 15:14:52
dhcp-1-80.tlv.redhat.com gunicorn[27902]: Playbook run
request for ovirt-host-deploy.yml, from 127.0.0.1, parameters:
{u'ovirt_pki_dir': u'/home/engine/ovi>
Dec 25 15:14:52
dhcp-1-80.tlv.redhat.com gunicorn[27902]: Clearing up old
env directory
Dec 25 15:14:52
dhcp-1-80.tlv.redhat.com gunicorn[27902]: Run the playbook
with a private key override of
/home/engine/ovirt-engine/etc/pki/ovirt-engine/keys/engine_id_rsa
Dec 25 15:14:52
dhcp-1-80.tlv.redhat.com gunicorn[27902]: Creating
env/cmdline file: --private-key
/home/engine/ovirt-engine/etc/pki/ovirt-engine/keys/engine_id_rsa
Dec 25 15:14:52
dhcp-1-80.tlv.redhat.com gunicorn[27902]: Playbook
8970ecca-2718-11ea-b4b1-90b11c724199 started in 0.0s
Dec 25 15:14:52
dhcp-1-80.tlv.redhat.com gunicorn[27902]: Playbook
ovirt-host-deploy.yml, UUID=8970ecca-2718-11ea-b4b1-90b11c724199 initiated
: status=starting
Dec 25 15:14:53
dhcp-1-80.tlv.redhat.com gunicorn[27902]: cb_event_handler
event_data={'uuid': '46ace4a9-b93c-4488-90ed-895c2b077a79',
'stdout':
u"ERROR! Unexpected Except>
Dec 25 15:14:53
dhcp-1-80.tlv.redhat.com gunicorn[27902]: cb_event_handler
event_data={'uuid': '752d0e43-62e5-4378-b779-bc86c3fafae4',
'stdout': u'to
see the full tracebac>
Dec 25 15:14:53
dhcp-1-80.tlv.redhat.com gunicorn[27902]: Playbook
ovirt-host-deploy.yml, UUID=8970ecca-2718-11ea-b4b1-90b11c724199 ended,
status=failed
Dec 25 15:14:53
dhcp-1-80.tlv.redhat.com gunicorn[27902]: Playbook
ovirt-host-deploy.yml Stats: None
Dec 25 15:14:55
dhcp-1-80.tlv.redhat.com gunicorn[27902]: Request received,
content-type :None
On Thu, 26 Dec 2019 at 12:25, Dana Elfassy <delfassy(a)redhat.com> wrote:
Hi Eyal,
Do you have any logs in journalctl -u ansible-runner-service?
On Wed, Dec 25, 2019 at 12:43 PM Eyal Shenitzky <eshenitz(a)redhat.com>
wrote:
>
>
> On Wed, 25 Dec 2019 at 11:37, Liran Rotenberg <lrotenbe(a)redhat.com>
> wrote:
>
>>
>>
>> On Wed, Dec 25, 2019 at 11:08 AM Eyal Shenitzky <eshenitz(a)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?
>>>
>>
>> Yes, I did.
>> Did the host was already on this env and you changed the host itself?
>> In any case it for me it failed to execute "ssh-copy-id" therefore the
>> engine can't run the ansible on the destination host.
>> Try doing it manually (if the host already was in on the engine the
>> problem can be "Invalid fingerprint").
>> You can try doing to manually with ovirt-engine key or if you have
>> another host you can copy it to the host destination at
>> ~/.ssh/authorized_keys
>> Just append the key "ssh-rsa... ovirt-engine" and try again.
>>
>
> Thanks for the replay.
>
> I already had "ssh-rsa... ovirt-engine" in ~/.ssh/authorized_keys.
>
> I think that it somehow I maybe misconfigured the ansible runner, I run
> the engine using 'engine' user and not as root.
> "Failed to execute Ansible host-deploy role: null" seems to be the cause
> for the trouble but there are no logs that I can look at.
>
>
>>
>>> Thanks,
>>>
>>> --
>>> Regards,
>>> Eyal Shenitzky
>>> _______________________________________________
>>> Devel mailing list -- devel(a)ovirt.org
>>> To unsubscribe send an email to devel-leave(a)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/KA7EPILRITP...
>>>
>>
>
> --
> Regards,
> Eyal Shenitzky
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-leave(a)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/CEJFIXISXA5...
>
--
Regards,
Eyal Shenitzky