Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1687116 - kernel version checks should not use /lib/modules to determine running version
Summary: kernel version checks should not use /lib/modules to determine running version
Status: NEW
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: katello-tracer
Version: 6.4
Hardware: Unspecified
OS: Unspecified
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Perry Gagne
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-10 01:44 UTC by prasun.gera
Modified: 2019-03-13 03:01 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

Description prasun.gera 2019-03-10 01:44:45 UTC
Description of problem:
I've you have ever installed a newer kernel version than the distro's kernel, it may have modules under /lib/modules. Satellite's web-ui will complain about running an older kernel forever with a "reboot required message" even if you switch back to the latest distro kernel. Even if you uninstall the newer kernels, but their /lib/modules files are present, it will continue to complain. The message is entirely useless as well with no indication about version numbers and such. The way I debugged this was by running katello-tracer-upload with strace, and saw that it was looking under /lib/modules. Once I removed the files from the newer versions, the red cross became green.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install a newer kernel. Optionally uninstall it, but leave the files under /lib/modules intact
2. Switch to distro's latest kernel

Actual results:
Red cross

Expected results:
Green tick

Additional info:

Note You need to log in before you can comment on or make changes to this bug.