'DescribeInstances' in ec2 shows wrong image-message to instance booting from volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
wingwj |
Bug Description
'DescribeInstances' in ec2 shows the wrong image message(
n781dba539a84:~ # euca-describe-
RESERVATION r-mdcwadip c1c092e1c88f402
INSTANCE i-0000003a ami-00000002 wjvm1 running None (c1c092e1c88f40
BLOCKDEVICE /dev/vda vol-0000000d false
More info can be found here: http://
--------------
The codes in ec2utils.py:
def glance_
"""Convert a glance id to an internal (db) id."""
if glance_id is None:
return
try:
return db.s3_image_
except exception.NotFound:
return db.s3_image_
------
The image_ref (as glance_id in this function) of the instance booting from a volume, will be "", not None.
The protected codes above can't take efforts.
Changed in nova: | |
assignee: | nobody → wingwj (wingwj) |
Changed in nova: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/72579
Review: https:/