Remote Execution dev setup problem (solved)

Hey,

I am trying to setup Remote Execution on my clean checkout from January and it does not work. I have a proxy with SSH feature, subnet associated, taxonomy is okay, created a (libvirt) host, NIC is set to the subnet, it has the ReX flag, proxy is up and running.

But when I try to run a job, I only get: “Failed to initialize: RuntimeError - Could not use any proxy. Consider configuring remote_execution_global_proxy, remote_execution_fallback_proxy in settings”

I even tried to set rex global proxy and fallback to true, but for some reason Foreman does not see the proxy. Anyone have seen this before I start digging?

Solved.

I did not have smart-proxy-ansible enabled and I was running an Ansible job. I will prepare a PR to improve the error message.

1 Like