Project

General

Profile

Actions

Bug #34409

closed

Identifying CentOS Stream as CentOS_Stream breaks in upgrades

Added by Ewoud Kohl van Wijngaarden about 2 years ago. Updated about 2 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 #1

Updated by Ewoud Kohl van Wijngaarden about 2 years ago

  • Related to Feature #33470: Support CentOS Stream 8 detection based on all facts added
Actions #2

Updated by Ewoud Kohl van Wijngaarden about 2 years ago

  • Related to Bug #34302: Associate redhat templates with CentOS_Stream OS name added
Actions #3

Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/foreman/pull/9096 added
Actions #4

Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/theforeman/foreman/pull/9098 added
Actions #5

Updated by Ewoud Kohl van Wijngaarden about 2 years ago

  • Subject changed from Revert identifying CentOS Stream as CentOS_Stream to Identifying CentOS Stream as CentOS_Stream breaks in upgrades

Changing the title to be a problem description rather than a solution.

Actions #6

Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases 3.2.0 added
Actions #7

Updated by Lukas Zapletal about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF