Project

General

Profile

Bug #34409

Identifying CentOS Stream as CentOS_Stream breaks in upgrades

Added by Ewoud Kohl van Wijngaarden 10 months ago. Updated 10 months ago.

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

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

Related to Foreman - Feature #33470: Support CentOS Stream 8 detection based on all factsClosed
Related to Foreman - Bug #34302: Associate redhat templates with CentOS_Stream OS nameClosed

Associated revisions

Revision 32250058 (diff)
Added by Lukas Zapletal 10 months ago

Fixes #34409 - rename existing CentOS OSes to CentOS_Stream

Signed-off-by: Lukas Zapletal <>

History

#1 Updated by Ewoud Kohl van Wijngaarden 10 months ago

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

#2 Updated by Ewoud Kohl van Wijngaarden 10 months ago

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

#3 Updated by The Foreman Bot 10 months ago

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

#4 Updated by The Foreman Bot 10 months ago

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

#5 Updated by Ewoud Kohl van Wijngaarden 10 months 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.

#6 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases 3.2.0 added

#7 Updated by Lukas Zapletal 10 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF