Smart-Proxy Problem

Problem:
i installed a fresh foreman server just in the standard way, when the installation is finished and try to add the smart-proxy shows an error : URL Only one declaration of a proxy is allowed

i try to add the smart proxy just like the manual say but… nothing happend.

any idea what can i do?

im new in foreman …

regards.

Expected outcome:

Foreman and Proxy versions:
1.22
Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)

logs

You’re likely running into the issue that the proxy has no organizations/locations attached to it. In the org selector, select any org. The same for location. Then when you go to smart proxies, you’ll see the proxy and you can assign the org/loc.

I have observed the same thing with the Foreman installer for 1.20 onwards. Foreman 1.19.3 with keeping defaults in unattended install has the Puppet Server as Smart Proxy and Puppet Environment visible in the UI, newer versions don’t have this. Adding the Puppet Server as smart proxy manually results in the described error of being already registered.

It is a side effect of enabling taxonomies (locations + organizations) by default in 1.20 and removing the switch in 1.21. These problems always existed for users who enabled them and we should spend time to fix this.