Hide Forgot
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