Bug #1364
closed
teuthology: kernel task won't downgrade
Added by Sage Weil over 12 years ago.
Updated over 12 years ago.
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.
- Target version changed from v0.33 to v0.34
- Translation missing: en.field_position set to 8
- Translation missing: en.field_story_points set to 3
- Translation missing: en.field_position deleted (
32)
- Translation missing: en.field_position set to 32
- Translation missing: en.field_position deleted (
32)
- Translation missing: en.field_position set to 30
- Assignee set to Anonymous
- Status changed from New to Closed
commit 7fd798a3474a7c453bba97c78fd3080687718386
Author: Tommi Virtanen <tommi.virtanen@dreamhost.com>
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
Also available in: Atom
PDF