Incomplete metadata is return for an instance when booting from volume instead of image
Bug #1175571 reported by
Matthew Macdonald-Wallace
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Matthew Macdonald-Wallace (HPCS) |
Bug Description
When booting from a cinder volume, metadata that would normally be included as part of a "standard" glance install/boot is not included in the volume metadata.
When booting from a volume, the volume metadata should be returned by Cinder in the same way that the image metadata is returned by Glance when booting from an image.
Changed in nova: | |
assignee: | nobody → Matthew Macdonald-Wallace (proffalken) |
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Low |
description: | updated |
Changed in nova: | |
assignee: | Matthew Macdonald-Wallace (proffalken) → Matthew Macdonald-Wallace (HPCS) (matthew-macdonald-wallace) |
Changed in nova: | |
assignee: | Matthew Macdonald-Wallace (HPCS) (matthew-macdonald-wallace) → Stanislaw Pitucha (stanislaw-pitucha) |
Changed in nova: | |
assignee: | Stanislaw Pitucha (stanislaw-pitucha) → Matthew Macdonald-Wallace (HPCS) (matthew-macdonald-wallace) |
Changed in nova: | |
assignee: | Matthew Macdonald-Wallace (HPCS) (matthew-macdonald-wallace) → Stanislaw Pitucha (stanislaw-pitucha) |
Changed in nova: | |
assignee: | Stanislaw Pitucha (stanislaw-pitucha) → Matthew Macdonald-Wallace (HPCS) (matthew-macdonald-wallace) |
Changed in nova: | |
milestone: | none → havana-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-2 → 2013.2 |
To post a comment you must log in.
nova/compute/ api.py:
528 if image_href: get_remote_ image_service( show(context, image_id) ImageNotActive( image_id= image_id)
529 (image_service, image_id) = glance.
530 context, image_href)
531 image = image_service.
532 if image['status'] != 'active':
533 raise exception.
534 else:
535 image = {}
This probably should talk to glance if we don't have an image_href to get the metadata from there?