2010-11-04 18:54:43 |
Scott Moser |
bug |
|
|
added bug |
2010-11-04 18:57:20 |
Scott Moser |
bug |
|
|
added subscriber Alon Swartz |
2010-11-04 18:58:58 |
Scott Moser |
nominated for series |
|
Ubuntu Lucid |
|
2010-11-04 18:58:58 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Lucid) |
|
2010-11-04 18:59:30 |
Scott Moser |
cloud-init (Ubuntu): importance |
Undecided |
Medium |
|
2010-11-04 18:59:30 |
Scott Moser |
cloud-init (Ubuntu): status |
New |
Fix Released |
|
2010-11-04 19:36:51 |
Scott Moser |
cloud-init (Ubuntu Lucid): importance |
Undecided |
High |
|
2010-11-04 19:36:51 |
Scott Moser |
cloud-init (Ubuntu Lucid): status |
New |
Confirmed |
|
2010-11-04 19:36:51 |
Scott Moser |
cloud-init (Ubuntu Lucid): milestone |
|
ubuntu-10.04.2 |
|
2010-11-04 19:36:51 |
Scott Moser |
cloud-init (Ubuntu Lucid): assignee |
|
Scott Moser (smoser) |
|
2010-11-05 16:09:27 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/lucid/cloud-init/lucid-kernel-upgrades |
|
2010-11-05 17:02:16 |
Scott Moser |
description |
Binary package hint: cloud-init
I'm investigating backporting support for guest managed kernels into 10.04 guest UEC images.
Doing so would allow 10.04 guest images that were running on EC2 and 10.10 UEC hosts to run 'apt-get dist-upgrade && reboot' and boot into their new kernel. Currently, the 10.04 guests cannot manage their own kernel under either UEC or EC2.
The solution in place for 10.10 is to use grub-pc to load the kernel on UEC and legacy-grub-ec2 to load the kernel on EC2.
In order to do this, we will need to pull the legacy-grub-ec2 package (a binary package built from cloud-init's source) to lucid.
I've done that backport and have a ppa build available at https://launchpad.net/~smoser/+archive/lucid-kernel-upgrades .
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cloud-init 0.5.10-0ubuntu1.3
ProcVersionSignature: User Name 2.6.32-309.18-ec2 2.6.32.21+drm33.7
Uname: Linux 2.6.32-309-ec2 i686
Architecture: i386
Date: Thu Nov 4 18:39:55 2010
Ec2AMI: ami-480df921
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1d
Ec2InstanceType: t1.micro
Ec2Kernel: aki-6603f70f
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init |
Binary package hint: cloud-init
I'm investigating backporting support for guest managed kernels into 10.04 guest UEC images.
Doing so would allow 10.04 guest images that were running on EC2 and 10.10 UEC hosts to run 'apt-get dist-upgrade && reboot' and boot into their new kernel. Currently, the 10.04 guests cannot manage their own kernel under either UEC or EC2.
The solution in place for 10.10 is to use grub-pc to load the kernel on UEC and legacy-grub-ec2 to load the kernel on EC2.
In order to do this, we will need to pull the legacy-grub-ec2 package (a binary package built from cloud-init's source) to lucid.
I've done that backport and have a ppa build available at https://launchpad.net/~smoser/+archive/lucid-kernel-upgrades .
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cloud-init 0.5.10-0ubuntu1.3
ProcVersionSignature: User Name 2.6.32-309.18-ec2 2.6.32.21+drm33.7
Uname: Linux 2.6.32-309-ec2 i686
Architecture: i386
Date: Thu Nov 4 18:39:55 2010
Ec2AMI: ami-480df921
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1d
Ec2InstanceType: t1.micro
Ec2Kernel: aki-6603f70f
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
===== SRU Information =====
* impact of the bug: This is not so much a bug as a missing feature from 10.04. With current 10.04 based EC2 images, an instance was not able to perform a kernel upgrade with 'apt-get dist-upgrade && reboot'. This is because the linux kernel is loaded by the hypervisor rather than a bootloader whos configuration is controlled by the instance. Near the end of the 10.04 cycle, Amazon announced "pv-grub" support. This allowed instances to manage their own kernel by managing /boot/grub/menu.lst
* how the bug has been addressed: In maverick, the grub-legacy-ec2 package was added under the cloud-init source package. This package manages /boot/grub/menu.lst much the same as grub-0.97 would (it is primariliy a source copy).
* minimal patch: The changes are available in my branch at [1], the diff can be seen from tip of that branch to revision 16 (current lucid-updates) [2].
* instructions on how to reproduce the bug:
Two bugs that are fixed by suggested changes:
1. system will not boot given a pv-grub kernel
* launch a lucid instance with pv-grub kernel
ec2-run-instances --instance-type t1.micro --kernel aki-407d9529 ami-b2b443db
2. system will not reboot into new kernel
* launch a lucid instance
ec2-run-instances --instance-type t1.micro ami-42887c2b
* install a newer kernel
sudo apt-get update && sudo apt-get dist-upgrade && sudo reboot
* reconnect, and verify old kernel is used.
* regression potential: The possibility for regression is centered around the fact that this change will cause
* new ubuntu images to load with a ramdisk
* kernel to boot with console=hvc0 parameter (used currently in maverick)
There is *no* potential for regression on running systems, only on systems where a user chooses to install grub-legacy-ec2 *and* modifies their instance to use pv-grub.
--
[1] https://code.launchpad.net/~smoser/ubuntu/lucid/cloud-init/lucid-kernel-upgrades
[2] http://bazaar.launchpad.net/~smoser/ubuntu/lucid/cloud-init/lucid-kernel-upgrades/revision/18?remember=16&compare_revid=16
=====
|
|
2010-11-07 04:43:33 |
Thierry |
bug |
|
|
added subscriber Thierry |
2010-11-16 18:21:38 |
Scott Moser |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2010-11-22 09:13:14 |
Martin Pitt |
cloud-init (Ubuntu Lucid): status |
Confirmed |
Fix Committed |
|
2010-11-22 09:13:19 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2010-11-22 09:13:22 |
Martin Pitt |
tags |
apport-bug ec2-images i386 lucid |
apport-bug ec2-images i386 lucid verification-needed |
|
2010-11-29 18:50:49 |
Scott Moser |
tags |
apport-bug ec2-images i386 lucid verification-needed |
apport-bug ec2-images i386 lucid verification-done |
|
2010-12-01 21:59:04 |
Scott Moser |
tags |
apport-bug ec2-images i386 lucid verification-done |
apport-bug ec2-images i386 lucid verification-failed |
|
2010-12-03 15:49:16 |
Martin Pitt |
tags |
apport-bug ec2-images i386 lucid verification-failed |
apport-bug ec2-images i386 lucid |
|
2010-12-03 15:49:18 |
Martin Pitt |
tags |
apport-bug ec2-images i386 lucid |
apport-bug ec2-images i386 lucid verification-needed |
|
2010-12-10 21:32:15 |
Scott Moser |
tags |
apport-bug ec2-images i386 lucid verification-needed |
apport-bug ec2-images i386 lucid verification-done |
|
2010-12-13 19:37:45 |
Launchpad Janitor |
cloud-init (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2010-12-14 01:48:32 |
Launchpad Janitor |
branch linked |
|
lp:vmbuilder/0.11 |
|