viccross / ansible-playbooks

My collection of Ansible playbooks for various tasks (dominated by Openshift, currently)
Apache License 2.0
2 stars 3 forks source link

`filetranspile` broken after RHEL 8 downgrade #205

Closed viccross closed 6 months ago

viccross commented 6 months ago

Sometime recently, I am guessing after the downgrade to RHEL 8, the filetranspile program (used in the build to inject the custom chronyd configuration into the Ignition files) has broken. Running yields a Python module dependency failure (No module named 'magic').

python3-magic is installed, but targets Python 3.6, while the installed Python appears to be 3.11 -- there is installation of both python3-dns and python3.11-dns in the playbook, which I figure has caused Python 3.11 to be installed instead of the "standard" Python.

It's feasible that RHEL 9 had Python 3.11 as the default Python, so the python3-magic package in RHEL 9 may have been built for Python 3.11. Or something.

Installing python3 fixed the program in testing... but now the default Python is 3.6, which may break other things depending on Python 3.11. Grr.