[Openstack] Glance, boto and image id

Antonio Messina antonio.s.messina at gmail.com
Mon Jan 14 17:28:45 UTC 2013


On Mon, Jan 14, 2013 at 6:18 PM, Vishvananda Ishaya
<vishvananda at gmail.com>wrote:

>
> On Jan 14, 2013, at 7:49 AM, Jay Pipes <jaypipes at gmail.com> wrote:
>
> >
> > There is an integer key in the s3_images table that stores the map
> > between the UUID and the AMI image id:
> >
> >
> https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L964
> >
> > Not sure this is available via Horizon... sorry.
>
> Correct. Here are some options:
>
> a) query the db directly for the mapping
>
> b) write an api extension to nova that exposes the mapping
>
> c) write an external utility that syncs the info from the nova db into
> glance metadata
>
> d) modify horizon to list images through the ec2 api instead of glance
>

I guess d) depends on b), since  we cannot assume horizon is running on the
same machine as the nova-api service.

.a.


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130114/55436d94/attachment.html>


More information about the Openstack mailing list