Project

General

Profile

Feature #19538

Detect Puppet server version automatically

Added by Daniel Helgenberger almost 2 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When running foreman-installer to upgrade puppet 3 -> 4 in place, puppet server fails to start because of missing "puppetlabs.trapperkeeper.services.status.status-service/status-service": "/status" in server.conf.

This line should be added by foreman-installer1; witch did not seem to work.

As a workaround, puppet server version should be specifid explicitly using foreman-installer:

puppetserver -v
puppetserver version: 2.7.2

foreman-installer --puppet-server-puppetserver-version=2.7.2

[1] https://github.com/theforeman/puppet-puppet/blob/master/templates/server/puppetserver/conf.d/web-routes.conf.erb#L17

History

#2 Updated by Dominic Cleal almost 2 years ago

  • Project changed from Foreman to Installer
  • Category deleted (Puppet integration)
  • Status changed from New to Feedback

The installer isn't meant to detect the version, it should be set to the version being installed.

You can also reset it to the default value, which configures it for the latest known version. I've changed the upgrade instructions at http://projects.theforeman.org/projects/foreman/wiki/Upgrading_from_Puppet_3_to_4#section-7 to recommend this during an upgrade, as it's likely that you are installing the latest.

#3 Updated by Daniel Helgenberger almost 2 years ago

Indeed, I concur we can assume one is installing the latest version of Puppet Server version in this scenario; resetting puppet server version seems like the best option.

The installer isn't meant to detect the version, it should be set to the version being installed.

However, if Puppetlabs decide to introduce another config change on future versions, how would this be handled with foreman installer? Shouldn't foreman-installer be able to detect the installed version?

#4 Updated by Dominic Cleal almost 2 years ago

  • Subject changed from Foreman-installer: not detecting correct puppet server version to Detect Puppet server version automatically
  • Category set to Foreman modules
  • Status changed from Feedback to New

#5 Updated by Dominic Cleal almost 2 years ago

  • Tracker changed from Bug to Feature

#6 Updated by Michael Moll almost 2 years ago

  • Status changed from New to Rejected

there's no possibilty to detect the puppetserver version, as we learned in the past.

Also available in: Atom PDF