Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionDerrick Ornelas
2022-06-22 13:20:52 UTC
Description of problem:
leapp is missing a dependency on the kmod package
Version-Release number of selected component (if applicable):
leapp-0.14.0-1.el8_6
How reproducible: 100%
Steps to Reproduce:
1. Install the leapp package in a RHEL8/UBI8 container image
2. Install the procps-ng package (BZ 2100108)
3. Run 'leapp preupgrade'
Actual results:
# leapp preupgrade
==> Processing phase `configuration_phase`
====> * ipu_workflow_config
IPU workflow config actor
==> Processing phase `FactsCollection`
====> * system_facts
Provides data about many facts from system.
Failed to set locale, defaulting to C.UTF-8
Process Process-124:
Traceback (most recent call last):
File "/usr/lib64/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib64/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.6/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run
actor_instance.run(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/leapp/actors/__init__.py", line 290, in run
self.process(*args)
File "/etc/leapp/repos.d/system_upgrade/common/actors/systemfacts/actor.py", line 54, in process
self.produce(systemfacts.get_active_kernel_modules_status(self.log))
File "/etc/leapp/repos.d/system_upgrade/common/actors/systemfacts/libraries/systemfacts.py", line 150, in get_active_kernel_modules_status
return ActiveKernelModulesFacts(kernel_modules=_get_active_kernel_modules(logger))
File "/etc/leapp/repos.d/system_upgrade/common/actors/systemfacts/libraries/systemfacts.py", line 41, in inner
return list(f(*args, **kwargs))
File "/etc/leapp/repos.d/system_upgrade/common/actors/systemfacts/libraries/systemfacts.py", line 94, in _get_active_kernel_modules
lines = run(['lsmod'], split=True)['stdout']
File "/usr/lib/python3.6/site-packages/leapp/libraries/stdlib/__init__.py", line 188, in run
result=result
leapp.libraries.stdlib.CalledProcessError: Command ['lsmod'] failed with exit code 1.
Expected results:
Installing leapp installs the kmod package, and running preupgrade successfully completes a preupgrade report
Additional info:
These are my initial tests of trying to run leapp containerized. These dependencies could be fulfilled manually while building a final production image, but since these seem like very hard dependencies it might be worth adding them to the packaging.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (leapp-repository bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:7590