Problem:
When running any Ansible play, I get the following:
1: Enter passphrase for /tmp/d20230518-10651-1k779ry/artifacts/2de0b591-38ad-424f-9e5b-5e5ff4487f56/ssh_key_data:
2: Identity added: /tmp/d20230518-10651-1k779ry/artifacts/2de0b591-38ad-424f-9e5b-5e5ff4487f56/ssh_key_data (foreman_rex@ipa.medforest.org@gpnixfor01.ipa.medforest.org)
3: ERROR! Unexpected Exception, this is probably a bug: No module named ‘psutil’
4: to see the full traceback, use -vvv
5: Exit status: 250
Expected outcome:
Ansible plays run successfully.
Foreman and Proxy versions:
Foreman 3.4.1
Katello 4.6.2
Foreman and Proxy plugin versions:
Ansible plugin version 9.0.1
Distribution and version:
RHEL 8.8
Other relevant data:
It happens on any host I try, so the issue seems to be on the Foreman server, not the remote hosts. It happens if I try to run a play as a scheduled task. And I get this same error if I go to a host, click the insights tab, then attempt to remediate an issue with Ansible. So pretty much any way I try to kick-off a task with Ansible.
If someone could point me in the right direction, suggest some troubleshooting steps, or request specific logs, I’d really appreciate it.
Thank you for your time