diff --git a/repos/system_upgrade/common/actors/checkipaserver/libraries/checkipaserver.py b/repos/system_upgrade/common/actors/checkipaserver/libraries/checkipaserver.py index 5ec36d06d2..6a1c887c1f 100644 --- a/repos/system_upgrade/common/actors/checkipaserver/libraries/checkipaserver.py +++ b/repos/system_upgrade/common/actors/checkipaserver/libraries/checkipaserver.py @@ -5,9 +5,11 @@ # TBD: update the doc url when migration guide 8->9 becomes available MIGRATION_GUIDE_8 = "https://red.ht/IdM-upgrading-RHEL-8-to-RHEL-9" +MIGRATION_GUIDE_9 = "https://red.ht/IdM-upgrading-RHEL-9-to-RHEL-10" MIGRATION_GUIDES = { '7': MIGRATION_GUIDE_7, - '8': MIGRATION_GUIDE_8 + '8': MIGRATION_GUIDE_8, + '9': MIGRATION_GUIDE_9 } @@ -27,7 +29,7 @@ def ipa_inhibit_upgrade(ipainfo): hint="Follow the IdM RHEL migration guide lines." ), reporting.ExternalLink( - url=MIGRATION_GUIDES[get_source_major_version()], + url=MIGRATION_GUIDES.get(get_source_major_version(), "TBD"), title="IdM migration guide", ), reporting.Severity(reporting.Severity.HIGH), @@ -62,8 +64,8 @@ def ipa_warn_pkg_installed(ipainfo): commands=[["yum", "remove", "-y", "ipa-server"]], ), reporting.ExternalLink( - url=MIGRATION_GUIDES[get_source_major_version()], - title="Migrating IdM from RHEL 7 to 8", + url=MIGRATION_GUIDES.get(get_source_major_version(), "TBD"), + title="IdM migration guide", ), reporting.Severity(reporting.Severity.MEDIUM), reporting.Groups([reporting.Groups.SERVICES]),