SmartProxy Not Appearing in Foreman

First time setting up Foremen and Katello. I setup a SmartProxy with the below command:

  --scenario foreman-proxy-content                   
  --certs-tar-file "/root/"                  
  --foreman-proxy-content-parent-fqdn ""                   
  --foreman-proxy-register-in-foreman "true"                   
  --foreman-proxy-foreman-base-url ""                   
  --foreman-proxy-trusted-hosts ""                   
  --foreman-proxy-trusted-hosts ""                  
  --foreman-proxy-oauth-consumer-key "blah" 
  --foreman-proxy-oauth-consumer-secret "blah"                   
  --puppet-server-foreman-url ""         

The setup finishes successfully and the host appears in the “All Hosts” section in Foreman, but not under “Smart Proxies”. If I try to add a SmartProxy, it says it already exists.

Expected outcome:
I would expect the system to now appear under “Smart Proxies”.

Foreman and Proxy versions: 1.22.2

Foreman and Proxy plugin versions: Katello 3.15

Distribution and version: CentOS 7

Other relevant data:

Ok, after doing some additional Googling, I found my solution…

The SmartProxy was not placed under the “Default” organization and location. At the top of the Foreman UI, I changed the organization and location to “Any”. I now see my SmartProxy!

This is probably something I could have specified when running foreman-installer on the proxy server.

1 Like