Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-880

Add --eus option to enable RHEL 8 EUS repositories

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • 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 corresponds_to_rhel_eus_release() function is updated to return true when:
        1. the minor version is in the EUS_MINOR_VERSIONS dict
        2. it is after the hardcoded date
        3. if the internet connection is available:

      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.

            prwatson@redhat.com Preston Watson
            mbocek@redhat.com Michal Bocek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: