Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-110561

[rhsm ] Allow using subscription-manager when upgrading non-RHEL to RHEL

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • rhel-upgrades
    • 12
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Goal

      • We expect, for the MVP of conversions with leapp, that it's possible to upgrade non-RHEL X system to RHEL X+1 (convert + upgrade in one go) with RHSM if the system has been previously registered with rhsm. The registration itself won't enabled RHEL repositories on the non-RHEL system though. For that a RHEL product certificate needs to be installed on the system so that subscription-manager "thinks" that the registered system is RHEL and with that provides access to RHEL repositories.
      • As of now leapp does not use sub-man when upgrading CentOS Stream (or any other non-RHEL distro). Leapp should allow using sub-man on non-RHEL distros when the target distro is RHEL (RHEL-110563).

      Acceptance criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • The RHSM Product Certificates for RHEL 9 and 10 (available at https://access.redhat.com/labs/rhpc/) are bundled in the leapp-repository rpm
        • They are already in there
      • When the source distro is non-RHEL and the target distro is RHEL (RHEL-110563), allow using sub-man
      • When using subscription-manager (--no-rhsm is not used) a leapp actor installs the proper certificate (based on the system major version) to the path where sub-man reads the certs from (/etc/pki/product-default/)

              leapp-notifications leapp-notifications
              mbocek@redhat.com Michal Bocek
              leapp-notifications leapp-notifications
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: