Hi Gianluca, that's very strange error, because I'm 100% sure we are using yum module with Python3 in several other roles including adding host to engine or upgrading host and so far I haven't heard any issue with ansible 2.9.10 and yum module.
Gobinda, wouldn't enforcing python interpreter version help there? https://github.com/oVirt/ovirt-engine/blob/master/packaging/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/main.yml#L28 Regards, Martin On Fri, Jul 17, 2020 at 10:22 AM Gianluca Cecchi <[email protected]> wrote: > Same problem for the next stage > > [ INFO ] TASK [ovirt.hosted_engine_setup : Install oVirt Hosted Engine > packages] > [ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 10, "changed": > false, "msg": "The Python 2 yum module is needed for this module. If you > require Python 3 support use the `dnf` Ansible module instead."} > > I think this is a major problem for new installations. > How can I get back python2 to see if it works without having to go through > all yaml files? > > Gianluca > _______________________________________________ > Users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Privacy Statement: https://www.ovirt.org/privacy-policy.html > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/[email protected]/message/QJ54NVDAGWXXPCT7AHEJIQYQR5IZ5IZU/ > -- Martin Perina Manager, Software Engineering Red Hat Czech s.r.o.
_______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/EY6SIF3FFRQ6PVMRNH3TJJUZAXABCKCD/

