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

 

 
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
   
 
 
 

 

 

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

 

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-service-project/project/roles/ovirt-host-deploy-facts/tasks/host-os.yml

 

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