Thanks,

The I already have 1.3.4 version
I am working on an engine that runs under Fedora-30.
The host I am trying to add is also Fedora-30.

On Wed, 25 Dec 2019 at 19:02, Steven Rosenberg <[email protected]> wrote:

> Dear Eyal,
>
> try running: ansible-runner --version
>
> If you don't get 1.3.4 you will have to install python2-ansible-runner
> version 1.3.4
>
> You will also need to install a new host, el8 or equivalent.
>
> With Best Regards.
>
> Steven.
>
>
>
> On Wed, Dec 25, 2019 at 12:43 PM Eyal Shenitzky <[email protected]>
> wrote:
>
>>
>>
>> On Wed, 25 Dec 2019 at 11:37, Liran Rotenberg <[email protected]>
>> wrote:
>>
>>>
>>>
>>> On Wed, Dec 25, 2019 at 11:08 AM Eyal Shenitzky <[email protected]>
>>> 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 -- [email protected]
>>>> To unsubscribe send an email to [email protected]
>>>> 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/[email protected]/message/KA7EPILRITPL4XGU66D4P3CJOEVGYLOM/
>>>>
>>>
>>
>> --
>> Regards,
>> Eyal Shenitzky
>> _______________________________________________
>> Devel mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> 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/[email protected]/message/CEJFIXISXA5T7SMBUONKKXNKBQ3YPHZH/
>>
>

-- 
Regards,
Eyal Shenitzky
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/IX4UPEHKMSPKYVOIVEQEYCFWEIEPNRHR/

Reply via email to