[Openstack] Glance, boto and image id

Jay Pipes jaypipes at gmail.com
Sun Jan 13 21:17:23 UTC 2013


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...

-jay

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 at gmail.com <mailto:antonio.s.messina at gmail.com>
> 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 at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 




More information about the Openstack mailing list