Problem:
Attempting to upgrade from Foreman 3.15 (+ katello) to Foreman 3.16.0
Expected outcome:
Upgrade completes successfully
Distribution and version:
RHEL 9
Other relevant data:
After doing the dnf upgrade
, I tried to run foreman-installer
and discovered the binary was missing (it was on the system prior to the upgrade).
I then installed the foreman-installer
package, which pulled in a new v8 Puppet agent package and tried to run foreman-installer, which failed.
First failure was this command failing: /opt/puppetlabs/bin/puppetserver ca setup
, as there were existing puppet certs on my server which seemed to clash with the new install. Once these certs were removed the failure changed.
Next failure was a smart proxy connection refused error on 9090. After starting foreman and re-running the installer the error changed again.
Next error was 500 Internal Server error. Foreman production.log mentions:
[E|app|8d93bde9] Error occurred while starting Katello::CandlepinEventListener
[E|app|8d93bde9] SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)
[E|app|8d93bde9] /usr/share/gems/gems/stomp-1.4.10/lib/connection/netio.rb:465:in `connect’
I tried to run katello-certs-check to confirm my cert setup, but again the binary was missing. I then installed the foreman-installer-katello
package, confirmed the certs were ok.
I then rolled my server back to 3.15 via snapshot.
Lots of problems with 3.16?