-
Bug
-
Resolution: Done
-
Major
-
6.17.1
Description of problem:
The redhat.satellite.content_upload ansible module requires an rpm module built for python 3.12.
How reproducible:
Always
Is this issue a regression from an earlier version:
Yes
Steps to Reproduce:
1. Install Satellite 6.17.1 on RHEL 9.6
2. Create and run an ansible playbook using redhat.satellite.content_upload.
Actual behavior:
[Describe the issue in detail, including what is happening and where]
Returns an error message:
ModuleNotFoundError: No module named 'rpm'
fatal: [localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args":
},
"msg": "Failed to import the required Python library (rpm) on satellite.lab's Python /usr/bin/python3.12. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"
}
- depends on
-
SAT-37853 fall-back to rpm binary when library can't be imported by evgeni · Pull Request #1904 · theforeman/foreman-ansible-modules · GitHub
-
- Closed
-