[openstack-dev] Configuring default page-size on image-list call in nova

Sumanth Suresh Nagadavalli sumansn at thoughtworks.com
Wed Oct 9 04:47:13 UTC 2013


Hi All,

Recently we had a bug where page-size parameter was not passed in from nova
while making a call to glance for image list. This was addressed by
https://review.openstack.org/#/c/43262/.

As a result, I also thought that it might make sense to have a default page
size configurable for image list call on nova end.

The reason is, if we do not have page-size parameter set, then the page
size is defaulted to 20 on glance client. This is not a configurable value
on glance client. If there are huge number images(say 1000), then nova ends
up making huge number of calls to glance(50, in this case). So, having a
default page-size configurable on nova end would help to have more control
over this value.

This is captured in
https://blueprints.launchpad.net/nova/+spec/default-page-size-for-image-list

Can we get some discussions started over this?

Thanks
-- 
Sumanth N S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131009/46a53c99/attachment.html>


More information about the OpenStack-dev mailing list