Configure a default page size to limit image list call made to glance
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_
Blueprint information
- Status:
- Started
- Approver:
- Russell Bryant
- Priority:
- Undefined
- Drafter:
- Sumanth Nagadavalli
- Direction:
- Needs approval
- Assignee:
- Sumanth Nagadavalli
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
- Slow progress
- Milestone target:
- None
- Started by
- Russell Bryant
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
I would rather see glanceclient have a sane default, but I see that there are backwards compatibility concerns on that side. This seems to be a reasonable knob for deployers to use. --alaski
I just don't like the argument: x acts in a way we don't like, nova uses x so add a workaround to nova for x. It should be x has something funny nova uses it, make a solution that all can use including nova. --jogo
Gerrit topic: https:/
Addressed by: https:/
Default page size configuration for image list
This blueprint has been deferred from the icehouse-3 milestone to Juno because it missed the "feature proposal freeze" deadline. https:/
Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)
Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguyI would rather see glanceclient have a sane default, but I see that there are backwards compatibility concerns on that side. This seems to be a reasonable knob for deployers to use. --alaski
I just don't like the argument: x acts in a way we don't like, nova uses x so add a workaround to nova for x. It should be x has something funny nova uses it, make a solution that all can use including nova. --jogo
Gerrit topic: https:/
Addressed by: https:/
Default page size configuration for image list
This blueprint has been deferred from the icehouse-3 milestone to Juno because it missed the "feature proposal freeze" deadline. https:/
Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)
Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy
Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)I would rather see glanceclient have a sane default, but I see that there are backwards compatibility concerns on that side. This seems to be a reasonable knob for deployers to use. --alaski
I just don't like the argument: x acts in a way we don't like, nova uses x so add a workaround to nova for x. It should be x has something funny nova uses it, make a solution that all can use including nova. --jogo
Gerrit topic: https:/
Addressed by: https:/
Default page size configuration for image list
This blueprint has been deferred from the icehouse-3 milestone to Juno because it missed the "feature proposal freeze" deadline. https:/
Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)
Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguyI would rather see glanceclient have a sane default, but I see that there are backwards compatibility concerns on that side. This seems to be a reasonable knob for deployers to use. --alaski
I just don't like the argument: x acts in a way we don't like, nova uses x so add a workaround to nova for x. It should be x has something funny nova uses it, make a solution that all can use including nova. --jogo
Gerrit topic: https:/
Addressed by: https:/
Default page size configuration for image list
This blueprint has been deferred from the icehouse-3 milestone to Juno because it missed the "feature proposal freeze" deadline. https:/
Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)
Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy
Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)
Marking this blueprint as definition: Drafting. If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)