Running remote execution Ansible jobs fails with error `Error initializing command: Net::SSH::AuthenticationFailed - Authentication failed for user root@client.example.com` on Red Hat Satellite 6
Environment
- Red Hat Satellite 6.6
Issue
-
Ansible jobs on Red Hat Satellite fails with below error:
Error initializing command: Net::SSH::AuthenticationFailed - Authentication failed for user root@client.example.com
Resolution
-
Setting foreman_tasks_proxy_batch_trigger to yes in Red Hat Satellite settings will fix this issue, but large remote executions on N number of hosts will get affected by this setting, refer This content is not included.Bugzilla for more information:
Red Hat Satellite Webui >> Administrator >> Settings >> ForemanTasks >> Set foreman_tasks_proxy_batch_trigger to yes. -
IMP NOTE: In above Bugzilla a Hotfix is available for Red Hat Satellite 6.6.2 not for later versions.
For more KB articles/solutions related to Red Hat Satellite 6.x Remote Execution Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Remote Execution Issues
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.