"leapp.workflow.FactsCollection: Actor pes_events_scanner has crashed" Error on leapp preupgrade report

Solution Verified - Updated -

Issue

Performing RHEL 7 to RHEL 8 leapp preupgrade results in following error:

ERROR PID: 82827 leapp.workflow.FactsCollection: Actor pes_events_scanner has crashed: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 74, in _do_run
    actor_instance.run(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/leapp/actors/{}init{}.py", line 289, in run
    self.process(*args)
  File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/peseventsscanner/actor.py", line 41, in process
    process()
  File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/peseventsscanner/libraries/pes_events_scanner.py", line 505, in process
    source_pkgs = apply_transaction_configuration(source_pkgs)
  File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/peseventsscanner/libraries/pes_events_scanner.py", line 475, in apply_transaction_configuration
    source_pkgs_with_conf_applied.remove(pkg_name_to_pkg_info_map[pkg.name])
KeyError: tomcat-lib:rhel-7-server-rpms

Or

ERROR PID: 95464 leapp.workflow.FactsCollection: Actor pes_events_scanner has crashed: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 74, in _do_runactor_instance.run(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/leapp/actors/{}init{}.py", line 289, in run
self.process(*args)
File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/peseventsscanner/actor.py", line 41, in processprocess()
File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/peseventsscanner/libraries/pes_events_scanner.py", line 505, in processsource_pkgs = apply_transaction_configuration(source_pkgs)
File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/peseventsscanner/libraries/pes_events_scanner.py", line 475, in apply_transaction_configurationsource_pkgs_with_conf_applied.remove(pkg_name_to_pkg_info_map[pkg.name])
KeyError: tomcat:rhel-7-server-rpms

Environment

Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content