Bug 1041003 - [RFE][nova]: Configure a default page size to limit image list call made to glance
Summary: [RFE][nova]: Configure a default page size to limit image list call made to g...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: ---
Assignee: Russell Bryant
QA Contact: Ami Jeain
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:23 UTC by RHOS Integration
Modified: 2019-09-09 14:15 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-04 06:25:22 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 13:23:37 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/default-page-size-for-image-list.

Description:

Right now, while making a nova image-list call, a limit can be passed to restrict the number of records to get on every request made to python-glanceclient internally.

There should be a default limit set, so that, if no limit is passed from client, the number of images should be limited to this value by default.

If there is no default value then page size is defaulted to 20 which is a hard-coded value in glance-client, and for large number of images, say 1000, nova makes huge number of calls(50 in this case) which chokes up glance. So, having this default configuration on nova end helps reduce the calls to glance in case of large number of images.

Add a configuration 'glance_default_page_size' defaulted to 100, to always limit image list call made to python-glanceclient.

Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.