Duplicate meter samples
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Low
|
Xia Linjuan |
Bug Description
I am using ceilometer (devstack master on Ubuntu 14.04.3) with attached ceilometer.conf (controller IP replaced with 1.2.3.4) .
According to devstack/settings (under ceilometer tree), one can append ,profiler to "notification_
# To enable OSprofiler change value of this variable to "notifications,
CEILOMETER_
Doing that, causes ceilometer to emit duplicate samples to the collector service.
ceilometer sample-list -m cpu -q 'resource_
+--
| Resource ID | Name | Type | Volume | Unit | Timestamp |
+--
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
cpu_util samples do not get properly calculated (probably because of duplicate metric their transformer depends on):
ceilometer sample-list -m cpu_util -q 'resource_
+------
| Resource ID | Name | Type | Volume | Unit | Timestamp |
+------
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
| d7e45859-
Removing ,profiler from "notification_
Changed in ceilometer: | |
assignee: | nobody → Zi Lian Ji (jizilian) |
Changed in ceilometer: | |
assignee: | Zi Lian Ji (jizilian) → nobody |
Changed in ceilometer: | |
assignee: | nobody → Xia Linjuan (ljxiash) |
Changed in ceilometer: | |
status: | Triaged → In Progress |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | none → mitaka-1 |
This occurs as the Notification agent binds queues to both notifications and profiler topics, if you look at the number of queues using sudo rabbitmqctl list_queues | grep info, you would see this:
notifications.info
profiler.info
Not sure why the new osprofiler topic needs to be configured in CEILOMETER_ NOTIFICATION_ TOPICS to receive osprofiler.* events, it should work without that change. It could be something to do with this: https:/ /github. com/openstack/ ceilometer/ blob/master/ ceilometer/ notification. py#L156