<div dir="ltr">Chris, thank you for clearly rephrasing me. Yes, that is exactly what I meant. </div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 10, 2015 at 9:51 AM, Chris Friesen <span dir="ltr"><<a href="mailto:chris.friesen@windriver.com" target="_blank">chris.friesen@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 04/09/2015 10:13 PM, Monty Taylor wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 04/09/2015 02:40 PM, Timur Sufiev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<br>
While analyzing Horizon behavior on a large scale we faced some performance<br>
issues which are most probably caused by inefficient calls to Nova API from<br>
Horizon, more specifically described at<br>
<a href="https://bugs.launchpad.net/nova/+bug/1442310" target="_blank">https://bugs.launchpad.net/<u></u>nova/+bug/1442310</a><br>
<br>
Since my knowledge of Nova existing APIs is not very comprehensive I am not<br>
quite sure whether current Nova API indeed doesn't support requesting the<br>
details of a multiple instances limited by their <instance_id>-s (passed as<br>
part of `search_opts` parameter) or I just failed to find the proper REST<br>
call at <a href="http://developer.openstack.org/api-ref-compute-v2.1.html" target="_blank">http://developer.openstack.<u></u>org/api-ref-compute-v2.1.html</a><br>
<br>
Nova developers, could you please help me on that matter?<br>
</blockquote>
<br>
I recommend not trying to do any of that - but instead doing a 'list' to<br>
get the entire set of data and then filtering out the things you don't<br>
want client side.<br>
</blockquote>
<br></span>
The current code does what you recommend, but as mentioned in the bug report listed above they've run into performance issues.<br>
<br>
They want to show the names for instances that cinder volumes are attached to, or that have floating IP addresses.  Currently the retrieve the entire list of instances in order to get the names of the (potentially much smaller) set of instances that they actually care about.<br>
<br>
If there was a "give me info on these specific instances" command in the nova API the above scenarios would be more efficient.<span class="HOEnZb"><font color="#888888"><br>
<br>
Chris</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
______________________________<u></u>______________________________<u></u>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.<u></u>openstack.org?subject:<u></u>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Timur Sufiev</div></div>
</div>