← Back to team overview

openstack team mailing list archive

Re: Glance, boto and image id


The EC2-style image ID would probably be stored in the custom key/value
pairs in the Glance image record for the image... so if you do a glance
image-show <IMAGE_UUID> you should see the EC2 image ID in there...


On 01/11/2013 09:51 AM, Antonio Messina wrote:
> Hi all,
> I am using boto library to access an folsom installation, and I have a
> few doubts regarding image IDs.
> I understand that boto uses ec2-style id for images (something like ami
> ami-<16digit number>) and that nova API converts glance IDs to EC2 id.
> However, it seems that there is no way from the horizon web interface
> nor from euca-tools to get this mapping.
> How can I know the EC2 id of an image, having access only to the web
> interface or boto?
> I could use the *name* of the instance instead of the ID, but the name
> is not unique...
> .a.
> -- 
> antonio.s.messina@xxxxxxxxx <mailto:antonio.s.messina@xxxxxxxxx>
> GC3: Grid Computing Competence Center
> http://www.gc3.uzh.ch/
> University of Zurich
> Winterthurerstrasse 190
> CH-8057 Zurich Switzerland
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

Follow ups