Collector does not requeue sample when requeue_sample_on_dispatcher_error is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Rohit Jaiswal |
Bug Description
Added a collector section to ceilometer.conf:
[collector]
requeue_
When a sample is picked up by collector and dispatched to the database storage driver and an exception reported by the storage layer i.e a deadlock or some uncaught DBError, the dispatcher does not propagate the reported exception to the collector. The collector fails to requeue the sample since the dispatcher and/or stevedore does not propagate it to the collector.
The database dispatcher (record_
Code snippet from ceilometer/
def record_
...
...
for meter in data:
...
try:
...
except Exception as err:
In above snippet of code, the exception is being logged and not being raised again.
Stevedore (NamedExtension
Changed in ceilometer: | |
assignee: | nobody → Rohit Jaiswal (rohit-jaiswal-3) |
summary: |
Collector does not requeue sample when - requeue_sample_on_dispatcher_error is True + requeue_sample_on_dispatcher_error is enabled |
description: | updated |
description: | updated |
description: | updated |
Changed in ceilometer: | |
status: | New → Triaged |
description: | updated |
Changed in ceilometer: | |
importance: | Undecided → Medium |
Changed in ceilometer: | |
milestone: | none → kilo-rc1 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | kilo-rc1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/165960
Review: https:/