Does not allow booting without a ramdisk
Bug #661159 reported by
Soren Hansen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Soren Hansen |
Bug Description
It's apparantly common to not use a ramdisk for booting. Ubuntu's EC2 images only use a kernel, no ramdisk. EC2 and Eucalyptus both support this.
Related branches
lp:~soren/nova/raw-disk-images
- Jay Pipes (community): Approve
- Vish Ishaya (community): Approve
- Salvatore Orlando (community): Needs Information
- Rick Clark (community): Approve
-
Diff: 832 lines (+264/-268)15 files modified.mailmap (+1/-0)
MANIFEST.in (+1/-1)
nova/api/ec2/cloud.py (+1/-1)
nova/compute/api.py (+11/-6)
nova/compute/disk.py (+19/-3)
nova/flags.py (+3/-4)
nova/tests/virt_unittest.py (+108/-24)
nova/virt/libvirt.rescue.qemu.xml.template (+0/-37)
nova/virt/libvirt.rescue.uml.xml.template (+0/-26)
nova/virt/libvirt.rescue.xen.xml.template (+0/-34)
nova/virt/libvirt.uml.xml.template (+0/-26)
nova/virt/libvirt.xen.xml.template (+0/-30)
nova/virt/libvirt.xml.template (+61/-18)
nova/virt/libvirt_conn.py (+58/-58)
tools/pip-requires (+1/-0)
Changed in nova: | |
status: | New → In Progress |
assignee: | nobody → Soren Hansen (soren) |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → 2011.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This needs two things addressed:
a) We need to support it in the virt drivers. Currently, we always pass a ramdisk to kvm, this needs to be conditional.
b) We have a concept of a default ramdisk. If none is set (either specifically in the RunInstances call or by way of a default setting in the machine image's metadata), there's a default value that will be used. We need to stop doing that.