We have some machines that our main katello instance cannot reach over ssh, so we added a smartproxy to use with that machines.
But now all the remote execution jobs are going through the secondary smartproxy (which cannot reach all the machines) so it is failing for several machines.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
CentOS Linux release 7.9.2009 (Core)
Other relevant data:
In order to try to sort this out we tried several things:
- change the hosts Content Source to the correct smartproxy: it did not work
- remove the secondary smartproxy from the Default Location but it says that the Location is being used by a host (the host is the secondary smartproxy)
We also found that there’s an option: Enable Global Proxy with the description:
Search for remote execution proxy outside of the proxies assigned to the host. The search will be limited to the host’s organization and location.
So it appears to be possible to assign a smartproxy to a host, but we did not find the option.
How can we avoid this situation and assign hosts to smartproxies?
Thanks in advance.