Actions
Bug #34409
closedIdentifying CentOS Stream as CentOS_Stream breaks in upgrades
Difficulty:
Triaged:
No
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.
Actions