-
Story
-
Resolution: Unresolved
-
Major
-
rhel-9.6
-
leapp-repository-0.21.0-5.el9
-
None
-
1
-
rhel-sst-upgrades
-
20
-
2
-
False
-
-
None
-
Leapp: 9.6 & 10.0
-
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-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
Update(pstodulk):
- Note that original exceptence criteries contained requirement to inhibit the upgrade for x86_64-v1 intel microarch when upgrading RHEL 9 -> 10, however that's not possible as RHEL 9 does not support x86_64-v1 microarch - it's not possible to install it on such a machine. So I drop it.
- links to
-
RHBA-2024:140086 leapp-repository bug fix and enhancement update
- mentioned in
-
Page Loading...