On Fri, Jul 17, 2020 at 10:54 AM Martin Perina <mperina@redhat.com> wrote:
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


I have a very clean install from 4.1.1.1 node ng iso anf I'm the third to notice that with this release.
The engine deployment is going on. Not finished yet, but to have ti go I had to modify, with the same strategy ("use: dnf" with package module and use "package" instead of "yum" and also specifying "use: dnf") in these files under /usr/share/ansible/roles:

ovirt.engine-setup/tasks/engine_setup.yml
ovirt.engine-setup/tasks/install_packages.yml
ovirt.hosted_engine_setup/tasks/install_packages.yml
ovirt.hosted_engine_setup/tasks/create_target_vm/03_hosted_engine_final_tasks.yml
ovirt.hosted_engine_setup/tasks/install_appliance.yml

Gianluca