Skip to content

Commit

Permalink
fixup! Fix or TODO some version specific actions in actors
Browse files Browse the repository at this point in the history
  • Loading branch information
matejmatuska committed Jul 8, 2024
1 parent 56551fb commit dd8070f
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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([
Expand Down

0 comments on commit dd8070f

Please sign in to comment.