# Ovirt self hosted engine install fails on Rocky. Ansible/Python issue

**URL:** <https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163>\
**Category:** Rocky Linux Help & Support\
**Created:** [May 26, 2022, 11:55am UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163 "2022-05-26T11:55:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulCee](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@PaulCee](https://forums.rockylinux.org/u/PaulCee)\
**Post date:** [May 26, 2022, 11:55am UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163/1 "2022-05-26T11:55:43Z")

</div>

Hi

I’m posting this here as well as on the Ovirt forum in the hope someone can help. I have installed a Minimal Rocky build and updated to 8.6. I have installed Ovirt and am trying to create the self hosted management engine. The install fails with the following error -

[ERROR] fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”:  
“Python Module not found: firewalld and its python module are required for this  
module, version 0.2.11 or newer required (0.3.9 or newer for offline operations)”}

Python 8.3.12 is installed and ansible [core 2.12.2].

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [May 26, 2022, 12:47pm UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163/2 "2022-05-26T12:47:00Z")

</div>

> [@PaulCee](#):
>
> firewalld and its python module

Firewalld should be included even in the _minimal_.  
What does `dnf list \*firewalld\*` reveal?

---

<div class="post-metadata">

**Author:** ![PaulCee](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@PaulCee](https://forums.rockylinux.org/u/PaulCee)\
**Post date:** [May 26, 2022, 12:54pm UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163/3 "2022-05-26T12:54:10Z")

</div>

[root@frm-cta-ov3 ~]# dnf list \*firewalld\*  
Last metadata expiration check: 3:34:07 ago on Thu 26 May 2022 10:19:37 BST.  
Installed Packages  
firewalld.noarch 0.9.3-13.el8 @baseos  
firewalld-filesystem.noarch 0.9.3-13.el8 @baseos

---

<div class="post-metadata">

**Author:** ![PaulCee](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@PaulCee](https://forums.rockylinux.org/u/PaulCee)\
**Post date:** [May 26, 2022, 12:59pm UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163/4 "2022-05-26T12:59:23Z")

</div>

I think everything that is needed is there but for whatever reason the interpreter is not allowing Python 3.8.12 to be used. I’ve tried using a defined path rather the auto or auto\_legacy but it made no dice.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [May 26, 2022, 1:33pm UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163/5 "2022-05-26T13:33:24Z")

</div>

The system python is 3.6. Therefore, “firewalld module” is probably for 3.6 too. The 3.8 we can install “for user”, not for admin tasks, I presume.

---

<div class="post-metadata">

**Author:** ![jmagee](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jmagee](https://forums.rockylinux.org/u/jmagee)\
**Post date:** [June 16, 2022, 6:26pm UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163/6 "2022-06-16T18:26:16Z")

</div>

Were you able to figure out a solution or work around for this?

---

<div class="post-metadata">

**Author:** ![PaulCee](https://avatars.discourse-cdn.com/v4/letter/p/9e8a1a/32.png) [@PaulCee](https://forums.rockylinux.org/u/PaulCee)\
**Post date:** [June 17, 2022, 12:08pm UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163/7 "2022-06-17T12:08:38Z")

</div>

Ah. I think 3.8 gets installed with Ovirt.  
ansible --version returns the following -

```auto
ansible [core 2.12.2]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.8/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.8.12 (default, May 10 2022, 23:46:40) [GCC 8.5.0 20210514 (Red Hat 8.5.0-10)]
  jinja version = 2.10.3
  libyaml = True

```

I’m afraid not. I might just have to wait to see if the Ovirt project have a look.

---

<div class="post-metadata">

**Author:** ![gerry666uk](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gerry666uk](https://forums.rockylinux.org/u/gerry666uk)\
**Post date:** [June 17, 2022, 12:47pm UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163/8 "2022-06-17T12:47:25Z")

</div>

The oVirt for RHEL9 says “non UEFI only”, but who on earth would run RHEL9 without UEFI?

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:47am UTC](https://forums.rockylinux.org/t/ovirt-self-hosted-engine-install-fails-on-rocky-ansible-python-issue/6163/9 "2023-08-25T03:47:29Z")

</div>

Closed on August 25, 2023, 3:47am UTC


