Project

General

Profile

Bug #23381

kernel task is misbehaving on RHEL

Added by David Galloway about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

From http://magna002.ceph.redhat.com/dgalloway-2018-03-15_11:11:40-smoke-luminous-distro-basic-bruuni/292185/teuthology.log

2018-03-15T11:20:23.007 INFO:teuthology.orchestra.run.bruuni003:Running: 'uname -r'
2018-03-15T11:20:23.086 INFO:teuthology.orchestra.run.bruuni003.stdout:3.10.0-860.el7.x86_64
2018-03-15T11:20:23.086 INFO:teuthology.task.kernel:Running kernel on bruuni003: 3.10.0-860.el7.x86_64
2018-03-15T11:20:23.086 INFO:teuthology.orchestra.run.bruuni003:Running: 'sudo yum install -y kernel'
2018-03-15T11:20:23.599 INFO:teuthology.orchestra.run.bruuni003.stdout:Loaded plugins: fastestmirror, langpacks, priorities, product-id, search-
2018-03-15T11:20:23.599 INFO:teuthology.orchestra.run.bruuni003.stdout:              : disabled-repos, subscription-manager
2018-03-15T11:20:23.600 INFO:teuthology.orchestra.run.bruuni003.stdout:This system is not registered with an entitlement server. You can use subscription-manager to register.
2018-03-15T11:20:23.600 INFO:teuthology.orchestra.run.bruuni003.stdout:Loading mirror speeds from cached hostfile
2018-03-15T11:20:23.600 INFO:teuthology.orchestra.run.bruuni003.stdout:Nothing to do
2018-03-15T11:20:23.601 INFO:teuthology.orchestra.run.bruuni003:Running: 'echo no | sudo yum reinstall kernel || true'
2018-03-15T11:20:23.794 INFO:teuthology.orchestra.run.bruuni003.stdout:Loaded plugins: fastestmirror, langpacks, priorities, product-id, search-
2018-03-15T11:20:23.795 INFO:teuthology.orchestra.run.bruuni003.stdout:              : disabled-repos, subscription-manager
2018-03-15T11:20:24.032 INFO:teuthology.orchestra.run.bruuni003.stdout:This system is not registered with an entitlement server. You can use subscription-manager to register.
2018-03-15T11:20:24.079 INFO:teuthology.orchestra.run.bruuni003.stdout:Loading mirror speeds from cached hostfile
2018-03-15T11:20:24.081 INFO:teuthology.orchestra.run.bruuni003.stdout:Installed package kernel-3.10.0-693.el7.x86_64 (from anaconda) not available.
2018-03-15T11:20:24.111 INFO:teuthology.orchestra.run.bruuni003.stderr:Skipping the running kernel: kernel-3.10.0-860.el7.x86_64
2018-03-15T11:20:24.111 INFO:teuthology.orchestra.run.bruuni003.stderr:Error: Nothing to do
2018-03-15T11:20:24.112 INFO:teuthology.orchestra.run.bruuni003:Running: 'rpm -q kernel --last'
2018-03-15T11:20:24.296 INFO:teuthology.orchestra.run.bruuni003.stdout:kernel-3.10.0-860.el7.x86_64                  Thu 15 Mar 2018 02:40:42 PM UTC
2018-03-15T11:20:24.296 INFO:teuthology.orchestra.run.bruuni003.stdout:kernel-3.10.0-693.el7.x86_64                  Thu 15 Mar 2018 02:36:46 PM UTC
2018-03-15T11:20:24.296 DEBUG:teuthology.task.kernel:get_latest_image_version_rpm: 3.10.0-693.el7.x86_64
2018-03-15T11:20:24.297 INFO:teuthology.task.kernel:Not newest distro kernel. Curent: 3.10.0-860.el7.x86_64 Expected: 3.10.0-693.el7.x86_64

If the goal is to make sure the latest possible kernel is running, I think rpm -q kernel --last is seeing the last line and thinks that's the latest. Perhaps this is as easy as adding a head -n 1 ?

Also available in: Atom PDF