vmbuider should Include kernel modules in AMIs for ec2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
Fix Released
|
Undecided
|
Scott Moser | ||
vm-builder (Ubuntu) |
Fix Released
|
Medium
|
Scott Moser | ||
Bug Description
It is fairly standard practice to include kernel modules in images for Amazon EC2, but the most recent Karmic AMIs do not include them:
ami-a40fefcd
canonical-
ami-a20fefcb
canonical-
Some other options have been discussed like building kernel modules into the kernel or copying them from initrd into /lib/modules at boot time, but the easiest approach to get things working in the short term is probably just to follow the existing de facto standard and include the kernel modules for the AMI's default kernel. If somebody wants to run it with a different kernel, they are already used to having to install those kernel modules themselves.
Ideally, the addition of the kernel modules would be done by default in the vmbuilder EC2 plugin so that it works when normal users create images with vmbuilder. If it is done some other way, the method should be documented publicly so that users can create working images.
affects: | ubuntu → vm-builder (Ubuntu) |
Changed in vm-builder (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Scott Moser (smoser) |
Changed in vm-builder (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in vm-builder (Ubuntu): | |
milestone: | none → ubuntu-9.10-beta |
Changed in vmbuilder: | |
status: | New → In Progress |
Changed in vm-builder (Ubuntu): | |
status: | Triaged → In Progress |
Changed in vmbuilder: | |
assignee: | nobody → Scott Moser (smoser) |
Changed in vmbuilder: | |
status: | In Progress → Fix Committed |
Changed in vm-builder (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in vmbuilder: | |
status: | Fix Committed → Fix Released |
> Some other options have been discussed like building kernel modules into
> the kernel or copying them from initrd into /lib/modules at boot time,
> but the easiest approach to get things working in the short term is
> probably just to follow the existing de facto standard and include the
> kernel modules for the AMI's default kernel. If somebody wants to run
I know that Eric doesn't really want to hear this, but I'll at least point
it out. Having the modules already installed for the xen kernel is less
than ideal for the uec images.
That said, I absolutely agree that having a full set of modules available
to the user in ec2 (at least comparable to that of the '-virtual' kernel)
is needed.