Bug 1258879 - [RFE] Reduce nova-api load from ceilometer agents with instance metadata caching
Summary: [RFE] Reduce nova-api load from ceilometer agents with instance metadata caching
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ceilometer
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: beta
: 8.0 (Liberty)
Assignee: Eoghan Glynn
QA Contact: Yurii Prokulevych
URL: https://blueprints.launchpad.net/ceil...
Whiteboard: upstream_milestone_liberty-2 upstream...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 12:54 UTC by Eoghan Glynn
Modified: 2016-04-07 21:05 UTC (History)
4 users (show)

Fixed In Version: openstack-ceilometer-5.0.0-1.el7ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 21:05:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0603 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Enhancement Advisory 2016-04-08 00:53:53 UTC

Description Eoghan Glynn 2015-09-01 12:54:53 UTC
Currently the ceilometer compute & hardware agents impose much unnecessary load on the nova-api service by querying the instance metadata for every local instance on every polling cycle. This load has caused major problems for operators of ceilometer.

The instance metadata is required to decorate the more minimal instance representation retrieved directly from the hypervisor or SNMP, when constructing a classic ceilometer sample (which includes rich snapshotted metadata).

However much of this metadata is either static or very infrequently changing, so could easily be cached within the agent.

So the nova-api load could be significantly reduced by constraining the nova-api query to only report on the subset of instances for the current node that have changed since the last polling cycle (using the 'changes-since' query parameter).

Comment 5 Yurii Prokulevych 2016-02-12 08:51:28 UTC
Verified according test plan.
Packages: ceilometer*-5.0.2-1.el7ost.noarch

Comment 7 errata-xmlrpc 2016-04-07 21:05:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0603.html


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