openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #20090
Re: Glance, boto and image id
On Jan 14, 2013, at 7:49 AM, Jay Pipes <jaypipes@xxxxxxxxx> 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
Vish
Follow ups
References