Use Glance instead of KRM json to Relate Images
Bug #706415 reported by
Rick Harris
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Rick Harris |
Bug Description
Currently Nova is using a krm JSON file to map machine images to kernels and ramdisks.
This relationship can be stored with the image itself by using Glance ImageProperties.
Overall this works by:
* Using glance-upload to create the image with the appropriate ImageProperties
glance-upload --type=machine --kernel=30 --ramdisk=29 ubuntu-lucid.img mymachine
* Modifying nova to make use of these ImageProperties to fetch the kernel and ramdisk
This bug is dependent on this bug in Glance being fixed: https:/
Related branches
lp:~rconradharris/nova/kernel_ramdisk_glance
- Rick Clark (community): Approve
- Thierry Carrez (community): Approve (ffe)
- Devin Carlen (community): Approve
-
Diff: 69 lines (+18/-18)3 files modifiedkrm_mapping.json.sample (+0/-3)
nova/api/openstack/__init__.py (+0/-3)
nova/api/openstack/servers.py (+18/-12)
Changed in nova: | |
assignee: | nobody → Rick Harris (rconradharris) |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Wishlist |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.