Comment 0 for bug 1123220

Revision history for this message
Neil Wilson (neil-aldur) wrote :

I'd very much like to use the official cloud images from cloud-images.ubuntu.com on the Brightbox cloud, but I can never get them to boot properly in KVM.

If the disk is resized then the VM always crashes with a kernel panic.

Process is as follows:

On a Precise Host running libvirt.

- wget http://cloud-images.ubuntu.com/quantal/current/quantal-server-cloudimg-amd64-disk1.img
- sudo cp quantal-server-cloudimg-amd64-disk1.img /var/lib/libvirt/images/test.img
- sudo qemu-img resize /var/lib/libvirt/images/test.img 20G
- virsh create test.xml

If you view the console in virt-manager you'll find that the kernel has panicked on the disk remount after resizing.

Issuing a 'virsh reset srv-7867c' causes the boot to progress normally. Similarly if the disk isn't resized the boot progresses normally.

You get the same problem with:

- all the standard images - with varying degrees of feedback in the failure message.
- using the RHEL6 version of libvirt and kvm
- if you remove the virtio from the disk stanza and replace with ide emulation.

Any ideas?

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cloud-initramfs-growroot 0.4ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-37.58-virtual 3.2.35
Uname: Linux 3.2.0-37-virtual x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Tue Feb 12 15:48:19 2013
MarkForUpload: True
PackageArchitecture: all
SourcePackage: cloud-initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)