kernel and initramfs should be available for uec

Bug #429106 reported by Scott Moser
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VMBuilder
Undecided
Scott Moser
vm-builder (Ubuntu)
High
Scott Moser
Karmic
High
Scott Moser

Bug Description

Right now our uec images at http://uec-images.ubuntu.com/karmic (or released ones at http://uec-images.ubuntu.com/releases) do not have a kernel and initramfs available for download.

The instructions at https://help.ubuntu.com/community/Eucalyptus give instruction on how to obtain one (from the filesystem), but we should provide a ready-to-go kernel and initramdisk that would be sufficient/optimized for Eucalyptus using kvm.

I'm opening this against vm-builder because I believe the proper place to put changes are either
a.) vmbuilder
b.) the automated nightly builds scripts (https://code.launchpad.net/~ubuntu-on-ec2/vmbuilder/automated-ec2-builds)

I think that the output of vmbuilder should at least optionally include a kernel and a ramdisk.

Scott Moser (smoser)
affects: ubuntu → vm-builder (Ubuntu)
Scott Moser (smoser)
Changed in vm-builder (Ubuntu Karmic):
status: New → Triaged
Revision history for this message
Scott Moser (smoser) wrote :

The approach I'm planning on taking here is to
a.) have linux-virtual added to the list of packages installed when vm-builder built for ec2 and karmic
b.) modify the automated build scripts to copy out kernel and initramfs and publish them

The reason for 'b' rather than having vmbuilder do this is
1.) time... i want to have this stuff done by beta
2.) it appears to me that a properly done "copy out kernels" flag to vmbuilder would be more intrusive. to get it done right, i'd even like for the xen config generated to use it.

Changed in vm-builder (Ubuntu Karmic):
status: Triaged → In Progress
Scott Moser (smoser)
Changed in vmbuilder:
status: New → In Progress
assignee: nobody → Scott Moser (smoser)
status: In Progress → Fix Committed
Revision history for this message
Scott Moser (smoser) wrote :

The output of nightly build http://uec-images.ubuntu.com/karmic/20090924/ now has

MD5SUMS
ubuntu-uec-karmic-amd64-initrd.img-2.6.31-10-server
ubuntu-uec-karmic-amd64-initrd.img-2.6.31-300-ec2
ubuntu-uec-karmic-amd64-vmlinuz-2.6.31-10-server
ubuntu-uec-karmic-amd64-vmlinuz-2.6.31-300-ec2
ubuntu-uec-karmic-amd64.img.gz
ubuntu-uec-karmic-amd64.manifest
ubuntu-uec-karmic-i386-initrd.img-2.6.31-10-generic-pae
ubuntu-uec-karmic-i386-initrd.img-2.6.31-300-ec2
ubuntu-uec-karmic-i386-vmlinuz-2.6.31-10-generic-pae
ubuntu-uec-karmic-i386-vmlinuz-2.6.31-300-ec2
ubuntu-uec-karmic-i386.img.gz
ubuntu-uec-karmic-i386.manifest

We may want to work on naming those files such that they're more predictable.

Revision history for this message
Scott Moser (smoser) wrote :

I'll mark this fixed-commited for now , as we are getting that output available. The naming / location of these files can definitely be improved, but at least they're available now.

Changed in vm-builder (Ubuntu Karmic):
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote :

Usage of published ramdisk is blocked by bug 439415.

Changed in vm-builder (Ubuntu Karmic):
milestone: ubuntu-9.10-beta → none
importance: Medium → Wishlist
Steve Langasek (vorlon)
Changed in vm-builder (Ubuntu Karmic):
milestone: none → ubuntu-9.10
Revision history for this message
Matt Zimmerman (mdz) wrote :

Fixing importance to High. It is not appropriate to use the host kernel for this purpose, as:

- It is the -server kernel, rather than the -virtual kernel (and this use case is exactly why -virtual was created)
- The instance could be 32-bit, while the host is 64-bit (this may in fact work, but is not correct)
- The host and image may be based on different versions of Ubuntu
- The host and image may have different kernel module ABIs

There are probably others, but suffice to say, this needs to be corrected.

Changed in vm-builder (Ubuntu Karmic):
importance: Wishlist → High
Revision history for this message
Thierry Carrez (ttx) wrote :

UEC beta image was released with accompanying working ramdisk/kernel.

Changed in vm-builder (Ubuntu Karmic):
milestone: ubuntu-9.10 → none
status: Fix Committed → Fix Released
Soren Hansen (soren)
Changed in vmbuilder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers