Since Foreman 3.3, I’ve began running into an issue where Foreman isn’t able to establish an SSH connection to managed hosts. The output I’m getting in the REX results are extremely vague (listed below) so I’m having a hard time diagnosing what’s wrong. I’ve verified that the host running the internal capsule proxy is able to ssh into the hosts I’ve been attempting to run the REX script against. Other attempts on hosts on the same network are successful, so I’m perplexed on why some of them are having issues and others aren’t. Any ideas what could be going on?
Error initializing command: RuntimeError - Failed to establish connection to remote host, exit code: 1
Exit status: EXCEPTION