Comment 2 for bug 1293337

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/98301
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=4863fc95bcbbb6f7dbe7e48ef13f370456611738
Submitter: Jenkins
Branch: master

commit 4863fc95bcbbb6f7dbe7e48ef13f370456611738
Author: Rikimaru Honjo <email address hidden>
Date: Tue Jun 10 18:16:21 2014 +0900

    Adds caches for image and flavor in compute agent

    Currently to obtain image and flavor data,
    compute agent always calls nova api, even for the same id of image/flavor.
    In order to reduce the number of nova-client call, caches for image and flavor
    are introduced.

    The caches only live in a local scope of _with_flavor_and_image: created every
    single polling interval and thrown away at the end of the interval.
    Although the caches only live in a short time, they are effective because same
    flavors are used many times in one compute-node in typical use cases.

    Change-Id: I63b6a59f06be4911f39073e34cfc3a2a7b832c51
    Closes-bug: #1293337