Remote execution task failures

Problem:
I can not seem to get a task to run on remote hosts. I either get this auth error (when remote_execution_without_proxy is set to Yes/True and remote_execution_global_proxy to No/False). I have confirmed I can connect to the host via ssh root@100.91.41.184 from command prompt. There is very little logging, even with all debugs on, so I have no idea what commands its attempting or what user/ssh key its trying to use.

If I turn remote_execution_global_proxy to Yes/True, then I get this proxy error. However, the proxy is showing as up, with no errors and does display Dynflow and SSH services in Foreman proxies page.

Expected outcome:
To be able to run remote execution.

Foreman and Proxy versions:
CentOS 7
Foreman 1.17.0
Proxy Version 1.17.0

Foreman and Proxy plugin versions:
tfm-rubygem-foreman_remote_execution 1.4.5-2
tfm-rubygem-foreman_remote_execution_core 1.1.0-1
rubygem-smart_proxy_remote_execution_ssh 0.1.5-1

Other relevant data:
links above

Ended up fixing this. There was no real smoking gun. Just had to keep messing with all the correct settings in the conf files. I think one of the main issues was using localhost instead of 0.0.0.0 (or vice-versa).

Perhaps the docs need a bit of love then? That’s usually the case if there’s not a stand-out bug blocking things :slight_smile: