Project

General

Profile

Actions

Bug #27269

closed

Capsules upgraded from Katello 2.x wrongly use no_prefix=true in the installer

Added by Evgeni Golov almost 5 years ago. Updated almost 5 years ago.

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

Description

Katello Capsules (Content Proxies) before Katello 3.0 had no_prefix: true in their Installer config (see https://github.com/Katello/katello-installer/blob/KATELLO-2.4/config/capsule-installer.yaml#L5 vs https://github.com/Katello/katello-installer/blob/KATELLO-3.0/config/capsule.yaml#L7) because the installer was quite different back then.

However, this option was never properly migrated to false on upgrades from 2.x to 3.0 (or later), resulting in Capsules that would have their Installer options being prefix-less.

As you usually don't need to pass many options to the installer when you upgrade, this went largely unnoticed until now when we renamed the certs-tar-file option in Foreman 1.22/Katello 3.12 which broke upgrades that would regenerate the certs tarball on each upgrade (this is not required, but should work).

Actions #1

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/372 added
Actions #2

Updated by Ewoud Kohl van Wijngaarden almost 5 years ago

  • Category set to foreman-installer script
  • Fixed in Releases 1.23.0 added
Actions #3

Updated by Evgeni Golov almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF