Actions
Bug #37686
closedInstalller doesn't handle Puppetserver 8 upgrade
Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
-
Difficulty:
Triaged:
Yes
Description
A simple reproducer on EL 8 & 9 with Puppetserver 7 installed:
dnf install https://yum.puppet.com/puppet8-release-el-9.noarch.rpm -y dnf upgrade puppetserver # At this point puppetserver is in a restart loop because /usr/bin/java is too old foreman-installer
The expected result is that this works, but this fails because it can't start puppetserver.
The root cause is very subtle. Puppet will check if the service is running using /bin/systemctl is-active -- puppetserver
, but it's not active because it's stuck in a restart loop where puppetserver is in activating
. It may still have a start going from before /etc/sysconfig/puppetserver
was modified.
Confusingly, eventually puppetserver will start so the next installer run will succeed.
Updated by Ewoud Kohl van Wijngaarden 2 months ago
- Related to Bug #37291: Ensure correct Java is used with Puppetserver 8 added
Updated by The Foreman Bot 2 months ago
- Status changed from New to Ready For Testing
- Assignee set to Ewoud Kohl van Wijngaarden
- Pull request https://github.com/theforeman/foreman-installer/pull/953 added
Updated by Ewoud Kohl van Wijngaarden 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset installer|9883362e410734e46ceea4d1c1b80e277ff3b277.
Updated by Ewoud Kohl van Wijngaarden about 2 months ago
- Triaged changed from No to Yes
Updated by Ewoud Kohl van Wijngaarden about 2 months ago
- Category set to foreman-installer script
Actions