Comment 11 for bug 1676586

Revision history for this message
Edward Hope-Morley (hopem) wrote :

hi @xavpaice I think i know why you see your event.sample queue piling up with messages. This appears to quite simply be down to the fact that we are still (in queens) configuring the event_sink to publish to notifier:// and notifier://?topic=aodh [2] which results in both the aodh and event (default) topics being used hence why messages end up in both. This is a problem for two reasons (1) if you don;t have aodh deployed the messages will pile up in queues listening on the aodh and ceilometer exchanges such as alarm.all.sample and event.sample. Upstream queens simple has this configured to gnocchi [1] and if ever Panko got charmed we could set it to that as well. So solution-wise i think we need to (a) only set to aodh if aodh is related and (b) default to gnocchi if not aodh and (c) remove all publishers if neither is available since ceilometer itself will not process these events anymore.

[1] https://github.com/openstack/ceilometer/blob/stable/queens/ceilometer/pipeline/data/event_pipeline.yaml
[2] https://github.com/openstack/charm-ceilometer/blob/stable/18.11/templates/mitaka/event_pipeline.yaml#L35