diff --git a/repos/system_upgrade/common/actors/checksaphana/libraries/checksaphana.py b/repos/system_upgrade/common/actors/checksaphana/libraries/checksaphana.py index 6dad9cf36c..17d431bb87 100644 --- a/repos/system_upgrade/common/actors/checksaphana/libraries/checksaphana.py +++ b/repos/system_upgrade/common/actors/checksaphana/libraries/checksaphana.py @@ -8,7 +8,7 @@ SAP_HANA_SUPPORTER_ARCHS = { '8': [architecture.ARCH_X86_64], '9': [architecture.ARCH_X86_64, architecture.ARCH_PPC64LE], - # TODO(mmatuska): what arches are supported for sap hana for 9to10? + '10': [architecture.ARCH_X86_64, architecture.ARCH_PPC64LE], } SAP_HANA_MINIMAL_MAJOR_VERSION = 2 @@ -187,6 +187,8 @@ def version2_check(info): continue if version.matches_target_version('> 8.6', '< 9.0') or version.matches_target_version('> 9.0'): # if a target release is >=8.8 or >=9.2, the SAP HANA and RHEL versions compatibility is not checked + # TODO(mmatuska): We don't know whether the check will be skipped on RHEL 10 (9to10) yet, + # update the method accoridingly then _report_skip_check() return # if a starget release is 8.6 or 9.0 we still check SAP HANA and RHEL versions compatibility @@ -222,6 +224,7 @@ def platform_check(): Supported architectures: - IPU 7 -> 8: x86_64 - IPU 8 -> 9: x86_64, ppc64le + - IPU 9 -> 10: x86_64, ppc64le In case of the upgrade to a RHEL X version that is not supported for the IPU yet, return False and do not report anything, as the upgrade to @@ -244,7 +247,10 @@ def platform_check(): title='How to in-place upgrade SAP environments from RHEL 7 to RHEL 8'), '9': reporting.ExternalLink( url='https://red.ht/how-to-in-place-upgrade-sap-environments-from-rhel-8-to-rhel-9', - title='How to in-place upgrade SAP environments from RHEL 8 to RHEL 9') + title='How to in-place upgrade SAP environments from RHEL 8 to RHEL 9'), + '10': reporting.ExternalLink( + url='https://red.ht/how-to-in-place-upgrade-sap-environments-from-rhel-9-to-rhel-10', # TODO make the URL + title='How to in-place upgrade SAP environments from RHEL 9 to RHEL 10'), } reporting.create_report([