It takes long time to get image-list since page size is too small
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Rikimaru Honjo |
Bug Description
Central Agent (actually plugins defined in ceilometer/
Since glanceclient has pagination feature, it calls glance API for every page sizes. When glanceclient is used by Central Agent, default value of page size, that is 20, is used, since Central Agent doesn't specify page size.
However, default value of page size is too small when there is a large number of images.
ex)
If there are 10000 images, glanceclient will call glance API 500 times (10000/20=500).
In this case, getting image-list takes about 440 seconds, which is too long.
By specifying page size, the time to get image-list can be shortened.
In above example, by setting page size to 100, the time can be shortened to 1/4, 100 seconds.
Therefore we need to specify page size from Central Agent.
Changed in ceilometer: | |
assignee: | nobody → Rikimaru Honjo (honjo-rikimaru-c6) |
description: | updated |
Changed in ceilometer: | |
milestone: | none → juno-3 |
importance: | Undecided → Medium |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/106304
Review: https:/