I upgraded successfully to Foreman 2.0 and Katello 3.15. Still using Foreman as its own smart proxy. Now I tried to upgrade to Foreman 2.1 and Katello 3.16 rc5. I installed the necessary packages before running the installer so there would be no need to access the smart proxy while the installer is running and the smart proxy stopped.
First thing was that I had to add --no-colors or the installer would fail. After that, unfortunately there is another problem (small except from the log):
Foreman_smartproxyhost.domain: Making get request to https://host.domain/api/v2/smart_proxies?search=name=“host.domain”
Foreman_smartproxyhost.domain: Received response 500 from request to https://host.domain/api/v2/smart_proxies?search=name=“host.domain”
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[host.domain]: Could not evaluate: Proxy host.domain cannot be retrieved: unknown error (response 500)
proxy' /usr/share/foreman-installer/modules/foreman/lib/puppet/provider/foreman_smartproxy/rest_v3.rb:13:in id’
It looks like Puppet wants to access the proxy while it is down. Is there a way to get around this? I can provide more information if necessary.