Problem:
REX jobs fail with:
Failed to initialize: RuntimeError - Could not use any proxy for the ["SSH", "Script"] job. Consider configuring remote_execution_global_proxy, remote_execution_fallback_proxy in settings"
I have set both of those settings to “Yes” in Settings->Remote Execution page, but the error still complains about those settings.
As suggested in Marek Hulan’s blog post I’ve tried:
foreman-installer --enable-foreman-plugin-remote-execution --enable-foreman-cli-remote-execution --enable-foreman-proxy-plugin-remote-execution-ssh
but no success
When i look at the local integrated smart proxy features, vie Infrastructure → Smart Proxies, it only lists “Logs and Pulpcore” there, it does not show SSH as other docs suggest it should.
Further, when i go to Administer → Remote Execution Features, i find that most of the features there look fine when i click on the feature label - it takes me to a page which for example summarises Name, Label, Description, Provided Inputs, and Job Template.
But when i click on puppet_run_host, or run_script, i get an error:
Oops, we're sorry but something went wrong undefined method `html_safe' for nil:NilClass Did you mean? html_safe?
Expected outcome:
Expect success when running a remote execution job eg “Check for package updates”, or “Run Command - Script Default” with a simple script like “touch /tmp/balls.txt”
Foreman and Proxy versions:
3.6/4.8 and 3.7.0/4.9.0rc2
Foreman and Proxy plugin versions:
foreman-proxy-3.7.0-1.el8
Not sure what you mean by plugin, i can’t see any plugin rpms no wait AHA!
In About -.> Plugins i do have: Foreman Remote Execution version: 10.0.1
Distribution and version:
Red Hat EL8.8, fully updated
Other relevant data: