-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RedHat famiy with minimal install #1191
Comments
RHEL-8 is using modules for idm. The ipaclient role is installing the idm:DL1/client module by default. This module also installs ipapython for use with platform-python that is also used by Ansible. |
On clean install of Oracle Linux 8.9 (minimal install) install fails, due to missing python3-pip. |
Neither IPA nor ansible-freeipa should require pip as we rely on rpm packages for instalation of all the packages. Also, on EL8, we rely on modules for server and client deployment. Can you provide the complete original error message (with |
Ofcourse. Default packages, before ansible execution were: |
Here is something I see from your log:
Note that it is using Python 3.11, but platform python for EL8 should be Python 3.6, and IPA is only supported on EL8 with that Python version (Python 3.6). With that, the error you are seing, `No module named 'ipapython', makes sense, as it should only be available for Python 3.6 and not Python 3.11. You should review your distro Python installation. |
Ah, makes sense, since installing |
This would not fix the issue, it might only fix the installation, but My recommendation is to contact the vendor support about the Python version issue. |
So... we start to see similar issues in CentOS Stream 8, and it seems that, for some reason I still haven't found, Ansible fails to detect For a similar issue, the suggested workaround (may need free enrollment) is to manually set |
If you install RedHat family OS (OL 8 in my instance), and choose "Minimal install",
freeipa.ansible_freeipa.ipaclient will fail with error
No module named 'ipapython'
.I manually had to install
python3-pip
and add envansible_python_interpreter: /usr/bin/python3
, for install to work.The text was updated successfully, but these errors were encountered: