-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
Yes
-
None
-
2
-
rhel-sst-idm-ipa
-
ssg_idm
-
3
-
False
-
-
No
-
2024-Q3-Alpha-S3, 2024-Q3-Alpha-S4
-
None
-
None
-
Unspecified Release Note Type - Unknown
-
None
During the RHEL-9.5 to RHEL10.0 Leapp preupgrade process, the check_ipa_server crashes due to a KeyError 9
Please provide the package NVR for which bug is seen:
leapp-0.17.0-100.20240723100221102816.master.23.gfcd13bc.el9.noarch leapp-deps-0.17.0-100.20240723100221102816.master.23.gfcd13bc.el9.noarch leapp-upgrade-el9toel10-0.20.0-100.20240724073902470405.master.92.g998b774d.el9.noarch leapp-upgrade-el9toel10-deps-0.20.0-100.20240724073902470405.master.92.g998b774d.el9.noarch
leapp preupgrade --enablerepo rhel-10.0-BaseOS --enablerepo rhel-10.0-AppStream
Actual results:
[pytest_multihost.host.Host.master.cmd4] DEBUG ====> * check_mount_options [pytest_multihost.host.Host.master.cmd4] DEBUG Check for mount options preventing the upgrade. [pytest_multihost.host.Host.master.cmd4] DEBUG ====> * check_ipa_server [pytest_multihost.host.Host.master.cmd4] DEBUG Check for ipa-server and inhibit upgrade [pytest_multihost.host.Host.master.cmd4] DEBUG Process Process-316: [pytest_multihost.host.Host.master.cmd4] DEBUG Traceback (most recent call last): [pytest_multihost.host.Host.master.cmd4] DEBUG File "/usr/lib64/python3.9/multiprocessing/process.py", line 315, in _bootstrap [pytest_multihost.host.Host.master.cmd4] DEBUG self.run() [pytest_multihost.host.Host.master.cmd4] DEBUG File "/usr/lib64/python3.9/multiprocessing/process.py", line 108, in run [pytest_multihost.host.Host.master.cmd4] DEBUG self._target(*self._args, **self._kwargs) [pytest_multihost.host.Host.master.cmd4] DEBUG File "/usr/lib/python3.9/site-packages/leapp/repository/actor_definition.py", line 75, in _do_run [pytest_multihost.host.Host.master.cmd4] DEBUG actor_instance.run(*args, **kwargs) [pytest_multihost.host.Host.master.cmd4] DEBUG File "/usr/lib/python3.9/site-packages/leapp/actors/__init__.py", line 296, in run [pytest_multihost.host.Host.master.cmd4] DEBUG self.process(*args) [pytest_multihost.host.Host.master.cmd4] DEBUG File "/etc/leapp/repos.d/system_upgrade/common/actors/checkipaserver/actor.py", line 24, in process [pytest_multihost.host.Host.master.cmd4] DEBUG ipa_inhibit_upgrade(ipainfo) [pytest_multihost.host.Host.master.cmd4] DEBUG File "/etc/leapp/repos.d/system_upgrade/common/actors/checkipaserver/libraries/checkipaserver.py", line 30, in ipa_inhibit_upgrade [pytest_multihost.host.Host.master.cmd4] DEBUG url=MIGRATION_GUIDES[get_source_major_version()], [pytest_multihost.host.Host.master.cmd4] DEBUG KeyError: '9'
Expected results:
The check_ipa_server actor should not crash and should handle the upgrade process correctly.