Project

General

Profile

Actions

Bug #34409

closed

Identifying CentOS Stream as CentOS_Stream breaks in upgrades

Added by Ewoud Kohl van Wijngaarden almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Facts
Target version:
Fixed in Releases:
Found in Releases:

Description

In #33470 (and with a fixup in #34302) Foreman started to identify CentOS Stream as CentOS_Stream. However, this is creating problems in upgrades because the description and title have been taken.

What Foreman 3.1 creates:

 id | major |  name  | minor | nameindicator |         created_at         |         updated_at         | release_name |  type  |   description   | password_hash |      title      
----+-------+--------+-------+---------------+----------------------------+----------------------------+--------------+--------+-----------------+---------------+-----------------
  1 | 8     | CentOS |       |               | 2022-02-07 18:05:55.944924 | 2022-02-07 18:05:55.944924 |              | Redhat | CentOS Stream 8 | SHA256        | CentOS Stream 8

And Foreman Nightly:

foreman=# select * from  operatingsystems;
 id | major |     name      | minor | nameindicator |         created_at         |         updated_at         | release_name |  type  |   description   | password_hash |      title      
----+-------+---------------+-------+---------------+----------------------------+----------------------------+--------------+--------+-----------------+---------------+-----------------
  1 | 8     | CentOS_Stream |       |               | 2022-02-07 17:30:00.279439 | 2022-02-07 17:30:00.279439 |              | Redhat | CentOS Stream 8 | SHA256        | CentOS Stream 8

CentOS Linux 8 is End of Life and has been removed from the repositories. In order to minimize the risk for users it's safest to keep the name the same, especially now that Foreman 3.2 is about to branch. That means reverting the name change.

The various fact parser alignments should stay in.


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #33470: Support CentOS Stream 8 detection based on all factsClosedDominik MatoulekActions
Related to Foreman - Bug #34302: Associate redhat templates with CentOS_Stream OS nameClosedLukas ZapletalActions
Actions

Also available in: Atom PDF