
On May 9, 2020 1:14:38 AM GMT+03:00, kelley bryan <kelley.bryan10@gmail.com> wrote:
Hello everyone new test of 4.4 on Fedora 30: Prepare Vm fails with {"attempts": 10, "changed": false, "cmd": "dnf install -y python2-dnf", "msg": "Could not import the dnf python module using /usr/bin/python (2.7.18 (default, Apr 21 2020, 18:49:31) [GCC 9.3.1 20200408 (Red Hat 9.3.1-2)]). Please install `python2-dnf` package or ensure you have specified the correct ansible_python_interpreter.", "rc": 1, "results": [], "stderr": "Error: Unable to find a match: python2-dnf\n", "stderr_lines": ["Error: Unable to find a match: python2-dnf"], "stdout": "Last metadata expiration check: 2:38:48 ago on Fri 08 May 2020 12:16:25 PM MST.\nNo match for argument: python2-dnf\n", "stdout_lines": ["Last metadata expiration check: 2:38:48 ago on Fri 08 May 2020 12:16:25 PM MST.", "No match for argument: python2-dnf"]} Is this due to Fedora 30 being based on RH7? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org 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/users@ovirt.org/message/URZCTP6N3RE4TV...
Which is the default python version ? Most probably ansible is looking for python 3.X while the default is 2.7. Have you tried to specify ansible_python_interpreter ? Best Regards, Strahil Nikolov