Project

General

Profile

Actions

Bug #37686

closed

Installler doesn't handle Puppetserver 8 upgrade

Added by Ewoud Kohl van Wijngaarden 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
foreman-installer script
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Installer - Bug #37291: Ensure correct Java is used with Puppetserver 8ClosedEwoud Kohl van WijngaardenActions
Actions #1

Updated by Ewoud Kohl van Wijngaarden 2 months ago

  • Related to Bug #37291: Ensure correct Java is used with Puppetserver 8 added
Actions #2

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
Actions #3

Updated by The Foreman Bot 2 months ago

  • Fixed in Releases 3.12.0 added
Actions #4

Updated by Ewoud Kohl van Wijngaarden 2 months ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Ewoud Kohl van Wijngaarden about 2 months ago

  • Triaged changed from No to Yes
Actions #6

Updated by Ewoud Kohl van Wijngaarden about 2 months ago

  • Category set to foreman-installer script
Actions

Also available in: Atom PDF