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

Inhibit upgrade when CPU is x86_64-v3 incompatible

    • sst_upgrades
    • False
    • Hide

      None

      Show
      None

      Goal

      • RHEL 10 will support only x86_64-v3 and higher CPUs [0]. The upgrade tooling has to check if used CPU is compatible and inhibit upgrade if in case it is not.
      • Unfortunately, there is no simple hardware search that can be performed to identify -v1 and -v2 CPUs. The only way to do this is to look at the CPU flags and determine whether the CPU has the appropriate flags[1]
      • It's difficult to reflect the x86-64-v1/2 support state into the hardware-removal-support.yaml [2]
      • darcari has a bash script[3] that reports the support level of a CPU - can be used as an inspiration

      Acceptance Criteria

      • leapp 9 to 10 upgrade on x86_64-v1 CPU is inhibited with proper message
      • leapp 9 to 10 upgrade on x86_64-v2 CPU is inhibited with proper message
      • leapp 9 to 10 upgrade on x86_64-v3 CPU proceeds

      [0] https://developers.redhat.com/articles/2024/01/02/exploring-x86-64-v3-red-hat-enterprise-linux-10
      [1] https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels
      [2] https://gitlab.com/redhat/rhel/src/kernel/hardware-removal-support/-/blob/main/hardware-removal-support.yaml?ref_type=heads
      [3]
      https://gitlab.cee.redhat.com/darcari/scripts/-/blob/main/check-x86-cpu-support.sh?ref_type=heads

            leapp-notifications leapp-notifications
            rhn-support-mkluson Martin Kluson
            leapp-notifications leapp-notifications
            RHEL Upgrades QE Team RHEL Upgrades QE Team
            Miriam Portman Miriam Portman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: