Project

General

Profile

Actions

Bug #31601

closed

Adapt installer for CentOS 8 Stream

Added by Stephane Mouton over 3 years ago. Updated about 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Script foreman-installer fails when launched on CentOS 8 Stream.
Error is:

ERROR ] [configure] Evaluation Error: Error while evaluating a Function Call, No preferred version defined or automatically detected. (file: /usr/share/foreman-installer/modules/postgresql/manifests/globals.pp, line: 231, column: 5) on node XXXX

A look at the script help find the problem: the script can't determine the kind of Linux used and therefore can't set an appropriate postgresql version to install.

Workaround: temporarily replacing the following files with CentOS 8 versions allows successful installation.
  • system-release
  • redhat-release
  • os-release

It leaves hope for a not too painful adaptation to CentOS 8 Stream.


Files

os-release os-release 368 Bytes CentOS 8 stream os-release file Stephane Mouton, 01/10/2021 06:21 PM

Related issues 1 (1 open0 closed)

Is duplicate of Installer - Bug #31527: foreman-installer fails to configure Postgres on CentOS Stream 8NewActions
Actions #1

Updated by Lukas Zapletal over 3 years ago

  • Project changed from Foreman to Installer
  • Triaged changed from No to Yes

Hello, EL8 is not yet supported, including CentOS8 Stream.

Actions #2

Updated by Lukas Zapletal over 3 years ago

Correction, EL8 is already supported it's just Stream probably what does not work: https://theforeman.org/manuals/2.3/index.html#2.Quickstart

Actions #3

Updated by Ewoud Kohl van Wijngaarden over 3 years ago

  • Is duplicate of Bug #31527: foreman-installer fails to configure Postgres on CentOS Stream 8 added
Actions #4

Updated by Ewoud Kohl van Wijngaarden over 3 years ago

  • Status changed from New to Duplicate

#31527 has more info, including links to patches.

Actions #5

Updated by Stephane Mouton over 3 years ago

Ouch, my bad: sorry for the duplicate.

Actions #6

Updated by Ewoud Kohl van Wijngaarden over 3 years ago

No worries, it's good to know there is demand for this.

Actions #7

Updated by Subhendu Ghosh about 3 years ago

Looking for the Centos 8 Stream installer fix as well

Actions #8

Updated by Ewoud Kohl van Wijngaarden about 3 years ago

Please don't react on this bug anymore. It's a duplicate of #31527. https://community.theforeman.org/t/running-foreman-on-centos-8-stream-support/21948 is also a place better suited for discussion than a bug tracker.

Actions

Also available in: Atom PDF