Installin ovirt and ovirt host on orcale 8.5 linux issues

Hi, Having issue when installing Ovirt on Oracle linux 8.1,8.2,8,3 whereby it is unable to set the interpreter for python. It is looking for python 2 instead, Kindly find attached logs. Need your help on that. Regards NAZEEM DURGAHEE Senior System Engineer Advanced Infrastructure Services Harel Mallac Technologies Ltd. 1st Floor, Block A, Phoenix Central, Pont Fer, Phoenix 73524, Mauritius t: (230) 207 3300 | ext: 1154 f: (230) 207 3333 | m: (230) e: nazeem.durgahee@harelmallac.com w: harelmallactechnologies.com | BRN: C07007231 Disclaimer: This e-mail and any attachment thereof are intended only for the person or entity to whom it is addressed in the email and contain confidential and/or privileged information. If you are not the intended recipient of this e-mail, please notify the sender immediately and delete the material from all platforms. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Before opening any attachments, please check them for viruses and defects, since we do not accept any liability for loss and/or damage which may be caused as a result. Data Privacy: Any personal data that you share with us by email will be processed in accordance with our privacy policy found on www.harelmallac.com

On Tue, Jan 11, 2022 at 2:39 PM Nazeem Durgahee < nazeem.durgahee@harelmallac.com> wrote:
Hi,
Having issue when installing Ovirt on Oracle linux 8.1,8.2,8,3 whereby it is unable to set the interpreter for python.
It is looking for python 2 instead, Kindly find attached logs.
Some time ago, we merged this patch, which was designed to solve your case: https://gerrit.ovirt.org/c/ovirt-engine/+/114663 Specifically: https://gerrit.ovirt.org/c/ovirt-engine/+/114663/6/packaging/ansible-runner-... However, this didn't work, because, as you can see in your attached logs, 'ansible_distribution_file_variety' is 'OracleLinux', and not 'RedHat'. Not sure whether this is due to ansible or to Oracle Linux. I think it would have made more sense that it was 'RedHat', as this seems to have worked well at least for AlmaLinux (and IIRC we also got success reports about Rocky Linux). Anyway, patches are welcome. Best regards, -- Didi

Hi, We made it work. The workaround is to create a symlink between /usr/bin/python3 to /usr/bin/python2 and it worked. We created an empty /usr/bin/python2. Now we will try same on the other two hosts that we need to install. Regards From: Yedidyah Bar David <didi@redhat.com> Sent: Tuesday, January 11, 2022 4:45 PM To: Nazeem Durgahee <nazeem.durgahee@harelmallac.com> Cc: users@ovirt.org; Veeroo Dowlut <Veeroo.Dowlut@harelmallac.com>; Govind Mooroogen <govind.mooroogen@harelmallac.com> Subject: Re: [ovirt-users] Installin ovirt and ovirt host on orcale 8.5 linux issues NAZEEM DURGAHEE Senior System Engineer Advanced Infrastructure Services Harel Mallac Technologies Ltd. 1st Floor, Block A, Phoenix Central, Pont Fer, Phoenix 73524, Mauritius t: (230) 207 3300 | ext: 1154 f: (230) 207 3333 | m: (230) e: nazeem.durgahee@harelmallac.com w: harelmallactechnologies.com | BRN: C07007231 On Tue, Jan 11, 2022 at 2:39 PM Nazeem Durgahee <nazeem.durgahee@harelmallac.com<mailto:nazeem.durgahee@harelmallac.com>> wrote: Hi, Having issue when installing Ovirt on Oracle linux 8.1,8.2,8,3 whereby it is unable to set the interpreter for python. It is looking for python 2 instead, Kindly find attached logs. Some time ago, we merged this patch, which was designed to solve your case: https://gerrit.ovirt.org/c/ovirt-engine/+/114663 Specifically: https://gerrit.ovirt.org/c/ovirt-engine/+/114663/6/packaging/ansible-runner-... However, this didn't work, because, as you can see in your attached logs, 'ansible_distribution_file_variety' is 'OracleLinux', and not 'RedHat'. Not sure whether this is due to ansible or to Oracle Linux. I think it would have made more sense that it was 'RedHat', as this seems to have worked well at least for AlmaLinux (and IIRC we also got success reports about Rocky Linux). Anyway, patches are welcome. Best regards, -- Didi Disclaimer: This e-mail and any attachment thereof are intended only for the person or entity to whom it is addressed in the email and contain confidential and/or privileged information. If you are not the intended recipient of this e-mail, please notify the sender immediately and delete the material from all platforms. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Before opening any attachments, please check them for viruses and defects, since we do not accept any liability for loss and/or damage which may be caused as a result. Data Privacy: Any personal data that you share with us by email will be processed in accordance with our privacy policy found on www.harelmallac.com

On Tue, Jan 11, 2022 at 2:50 PM Nazeem Durgahee < nazeem.durgahee@harelmallac.com> wrote:
Hi,
We made it work.
The workaround is to create a symlink between /usr/bin/python3 to /usr/bin/python2 and it worked.
We created an empty /usr/bin/python2. Now we will try same on the other two hosts that we need to install.
Thanks for the update. I now pushed this patch: https://gerrit.ovirt.org/c/ovirt-engine/+/118229 Can you please verify it on Oracle Linux? I'd like to get volunteers to verify also on AlmaLinux and Rocky Linux, to make sure we do not break these. Thanks and best regards, -- Didi

On 1/11/22 13:57, Yedidyah Bar David wrote:
On Tue, Jan 11, 2022 at 2:50 PM Nazeem Durgahee <nazeem.durgahee@harelmallac.com <mailto:nazeem.durgahee@harelmallac.com>> wrote:
Hi,____
__ __
We made it work.____
__ __
The workaround is to create a symlink between /usr/bin/python3 to /usr/bin/python2 and it worked.____
__ __
We created an empty /usr/bin/python2. Now we will try same on the other two hosts that we need to install.
Thanks for the update.
I now pushed this patch:
https://gerrit.ovirt.org/c/ovirt-engine/+/118229 <https://gerrit.ovirt.org/c/ovirt-engine/+/118229>
Can you please verify it on Oracle Linux? I'd like to get volunteers to verify also on AlmaLinux and Rocky Linux, to make sure we do not break these.
setup module on Rocky Linux 8 host returns ... "ansible_distribution": "Rocky", "ansible_distribution_file_parsed": true, "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_major_version": "8", "ansible_distribution_release": "Green Obsidian", "ansible_distribution_version": "8.5", ... "ansible_os_family": "RedHat", ... so patch looks good to me Cheers, Jiri
Thanks and best regards, -- Didi
_______________________________________________ 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/2VW3KR3SX6AON3...
participants (3)
-
Jiří Sléžka
-
Nazeem Durgahee
-
Yedidyah Bar David