<div dir="ltr">On Mon, Jan 14, 2013 at 6:18 PM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On Jan 14, 2013, at 7:49 AM, Jay Pipes <<a href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>> wrote:<br>
<br>
><br>
> There is an integer key in the s3_images table that stores the map<br>
> between the UUID and the AMI image id:<br>
><br>
> <a href="https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L964" target="_blank">https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L964</a><br>
><br>
> Not sure this is available via Horizon... sorry.<br>
<br>
</div>Correct. Here are some options:<br>
<br>
a) query the db directly for the mapping<br>
<br>
b) write an api extension to nova that exposes the mapping<br>
<br>
c) write an external utility that syncs the info from the nova db into glance metadata<br>
<br>
d) modify horizon to list images through the ec2 api instead of glance<br></blockquote><div><br></div><div>I guess d)  depends on b), since  we cannot assume horizon is running on the same machine as the nova-api service.<br>
<br></div><div>.a.<br></div></div><br clear="all"><br>-- <br><a href="mailto:antonio.s.messina@gmail.com" target="_blank">antonio.s.messina@gmail.com</a><br>GC3: Grid Computing Competence Center<br><a href="http://www.gc3.uzh.ch/" target="_blank">http://www.gc3.uzh.ch/</a><br>
University of Zurich<br>Winterthurerstrasse 190<br>CH-8057 Zurich Switzerland
</div></div>