-
Task
-
Resolution: Done-Errata
-
Major
-
None
-
None
-
False
-
False
-
-
3
-
1.4 GA, 2023-R4
-
Testable
With the release of RHEL 8.9 (2023-11-14) we will start supporting conversions to RHEL 8.8 EUS.
We need to make sure that we convert to RHEL EUS only after the clone distro is released to a newer version. Because let's say RHEL 8.9 is released and the clone distro running is 8.8 but the clone distro 8.9 hasn't been released yet. At that point the user has no way to update to 8.9 before the conversion and they may not want to land on EUS, they want to land on the latest rolling release.
Acceptance criteria:
- Integration tests are updated to count with 8.8 being EUS
- 8.8 is added to the list of supported EUS releases: https://github.com/oamg/convert2rhel/blob/v1.1/convert2rhel/systeminfo.py#L59
- The RHEL EUS period start date (e.g. 2023-11-14 for RHEL EUS 8.8) - is hardcoded there as well, for instance this way:
EUS_MINOR_VERSIONS = { "8.6": "2022-11-09", "8.8": "2023-11-14", }
- The RHEL EUS period start date (e.g. 2023-11-14 for RHEL EUS 8.8) - is hardcoded there as well, for instance this way:
- The corresponds_to_rhel_eus_release() function is updated to return true when:
- the minor version is in the EUS_MINOR_VERSIONS dict
- it is after the hardcoded date
- if the internet connection is available:
- we look at NEVRA of the -release package in the 8.latest repo of Alma/Rocky. That gives us the latest available minor version.
- for that we have hardcoded the Alma/Rocky 8.latest BaseOS repos (https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/ and https://repo.almalinux.org/almalinux/8/BaseOS/x86_64/os)
- if the latest available minor version is newer than the one running, we convert to EUS, otherwise we convert using non-EUS RHEL repos
- we look at NEVRA of the -release package in the 8.latest repo of Alma/Rocky. That gives us the latest available minor version.
Note:
- Examples:
Before Nov 14, the default when internet is N/A would be converting clone 8.8 to RHEL 8.8 non-EUS.
After Nov 14, the default when internet is N/A would be converting clone 8.8 to RHEL 8.8 EUS.
Before Nov 14, when internet is available and clone 8.8 is the latest, convert2rhel would be converting clone 8.8 to RHEL 8.8 non-EUS.
After Nov 14, when internet is available and clone 8.8 is the latest, convert2rhel would be converting clone 8.8 to RHEL 8.8 non-EUS.
After Nov 14, when internet is available and clone 8.9 is the latest, convert2rhel would be converting clone 8.8 to RHEL 8.8 EUS.
- links to
-
RHEA-2023:123165 convert2rhel bug fix and enhancement update
There are no Sub-Tasks for this issue.