Project

General

Profile

Actions

Bug #1364

closed

teuthology: kernel task won't downgrade

Added by Sage Weil over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
qa
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

update-grub sorts kernels in descending order, so it will always boot the first one. Unless you put the default=N in the /etc/default/grub, in which case it will boot the Nth kernel.

The kernel task just assumes the most recently installed kernel will be the one.

It should probably loop and uninstall any kernels newer than the one it wants.

Actions #1

Updated by Sage Weil over 12 years ago

  • Target version changed from v0.33 to v0.34
Actions #2

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position set to 8
Actions #3

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_story_points set to 3
  • Translation missing: en.field_position deleted (32)
  • Translation missing: en.field_position set to 32
Actions #4

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (32)
  • Translation missing: en.field_position set to 30
Actions #5

Updated by Sage Weil over 12 years ago

  • Assignee set to Anonymous
Actions #6

Updated by Anonymous over 12 years ago

  • Status changed from New to Closed

commit 7fd798a3474a7c453bba97c78fd3080687718386
Author: Tommi Virtanen <>
Date: 2011-08-10 13:40:00 -0700

Configure grub to default to the right kernel, not the greatest installed one.
This is sticky; that is, even if you install other kernels (manually/via fab/etc),
grub will keep booting up the one that was last enabled via teuthology config.
Use teuthology to switch kernels and it'll just work.
If the kernel the grub default points to is removed, grub will fall back to
booting the kernel with the greatest version number.
Closes: http://tracker.newdream.net/issues/1364
Actions

Also available in: Atom PDF