summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorJohn Tran <jtran@attinteractive.com>2011-07-07 20:43:50 -0700
committerJohn Tran <jtran@attinteractive.com>2011-07-07 20:43:50 -0700
commit2c3eeb5f9f5f78d9cb8fb3e37d5b5e1610d32499 (patch)
treeafa47958f344f61db11b9a22af4660d7d11425fb /bin/stack
parentbc8f009f8ac6393301dd857339918d40b93be63d (diff)
downloadnova-2c3eeb5f9f5f78d9cb8fb3e37d5b5e1610d32499.tar.gz
nova-2c3eeb5f9f5f78d9cb8fb3e37d5b5e1610d32499.tar.xz
nova-2c3eeb5f9f5f78d9cb8fb3e37d5b5e1610d32499.zip
ec2 api _get_image method logic flaw that strips the hex16 digit off of the image name, and does a search against the db for it and ignores that it may not be the correct image, such as if doing a search for aki-0000009, yet that image name doesn't exist, it strips off aki- and looks for any image_id 0000009 and if there was an image match that happens to be an ami instead of aki, it will go ahead and deregister that. That behavior is unintended, so added logic to ensure that the original request image_id matches the type of image being returned from database by matching against container_format attr
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions