yum
install
-y
https://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm
yum
install
-y
ovirt-host
yum
update
On Thu, 26 Dec 2019 at 15:09, Steven Rosenberg <srosenbe@redhat.com> wrote:OK, so make sure that python2-ansible-runner is also 1.3.4. There wass an issue with upgrading the dependencies and I had to install this package manually.I did have different errors in my journal however, your error is:cb_event_handler event_data={'uuid': '46ace4a9-b93c-4488-90ed-895c2b077a79', 'stdout': u"ERROR! Unexpected Except>Did you check the contents of the file:home/engine/ovirt-engine/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20191225105714-10.35.0.158-41ec72c1-88e2-402b-8bb9-f38c678d0bf0.logIn my scenario the log was not being created, but maybe yours is.The log file doesn't exist in my case also.python2-ansible-runner version is also 1.3.4With Best Regards.Steven.On Thu, Dec 26, 2019 at 2:18 PM Eyal Shenitzky <eshenitz@redhat.com> wrote:Thanks,The I already have 1.3.4 versionI 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 <srosenbe@redhat.com> wrote:Dear Eyal,try running: ansible-runner --versionIf you don't get 1.3.4 you will have to install python2-ansible-runner version 1.3.4You 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 <eshenitz@redhat.com> wrote:_______________________________________________On Wed, 25 Dec 2019 at 11:37, Liran Rotenberg <lrotenbe@redhat.com> wrote:On Wed, Dec 25, 2019 at 11:08 AM 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-30Ansible version is - 2.9.1Ansible 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: rootThere 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_keysJust 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@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/
--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/CEJFIXISXA5T7SMBUONKKXNKBQ3YPHZH/
--Regards,Eyal Shenitzky--Regards,Eyal Shenitzky