sink documenation should explain usage alongside ceilometer

Bug #1437495 reported by Kevin Fox
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Designate
Won't Fix
Low
Unassigned

Bug Description

Ok. So, I'm using Ceilometer on my cloud, and I went to add Designate Sink...

Looking at the config, nova's configured to push notifications to the notifications topic. I see a notifications.info in rabbit. It has 0 messages in it though. Digging in, Ceilometer is sitting on the queue consuming messages...

Looking at the rabbit setup, there is no exchange for notifications.info, so by default that means its a direct exchange. (https://www.rabbitmq.com/tutorials/amqp-concepts.html)

So, near as I can tell, if I start Designate Sink on the same queue then, both Ceilometer and Designate Sink will race to get messages, causing each other not to see all of the messages, breaking things badly.

I'm not sure this is a Designate bug exactly, but since Ceilometer is much more common at this point, it might affect users adding Designate to their existing clouds.

How should this be handled? A big fat blinky warning in the documentation for how to set it up properly? Some kind of error in Designate Sink's logs if it can detect someone else on the queue? Something else?

Thanks,
Kevin

Revision history for this message
Kiall Mac Innes (kiall) wrote :

You're correct that Ceilometer and Designate will "race" to consume the messages, the correct configuration is to provide Nova with two different notification topics, causing it to emit each notification twice, and allocate one of the topics to Ceilometer, the other to Designate.

We should update our docs to clarify this.

Changed in designate:
importance: Undecided → Low
status: New → Triaged
summary: - sink notifications ceilometer
+ sink documenation should explain usage alongside ceilometer
Changed in designate:
milestone: none → kilo-rc1
Changed in designate:
milestone: kilo-rc1 → liberty-1
milestone: liberty-1 → kilo-rc1
Kiall Mac Innes (kiall)
Changed in designate:
milestone: kilo-rc1 → liberty-1
Kiall Mac Innes (kiall)
tags: added: low-hanging-fruit
Thierry Carrez (ttx)
Changed in designate:
milestone: liberty-1 → liberty-2
Changed in designate:
assignee: nobody → pradeep kumar singh (pradeep-singh-u)
Kiall Mac Innes (kiall)
Changed in designate:
milestone: liberty-2 → liberty-3
Kiall Mac Innes (kiall)
Changed in designate:
milestone: liberty-3 → liberty-rc1
Kiall Mac Innes (kiall)
Changed in designate:
milestone: liberty-rc1 → none
Shaik Apsar (sa709c)
Changed in designate:
status: Triaged → Fix Released
Revision history for this message
Shaik Apsar (sa709c) wrote :

I accidentally happened to change status to fix released and I am unable to change it back to Triaged.

Revision history for this message
Shaik Apsar (sa709c) wrote :

please revert this back to Triaged.

Changed in designate:
status: Fix Released → Triaged
tags: added: docs
Changed in designate:
assignee: Pradeep Kumar Singh (pradeep-singh-u) → nobody
Changed in designate:
assignee: nobody → Rudrajit Tapadar (rtapadar)
Derek Yang (hswayne77)
Changed in designate:
assignee: Rudrajit Tapadar (rtapadar) → Derek Yang (hswayne77)
Revision history for this message
Graham Hayes (grahamhayes) wrote :

This has been open for a long period of time, with a low priority.

As a result, I am closing the bug.

If you feel this was in error, and this is important please re-open, and feel free to start working on the bug.

Changed in designate:
assignee: Derek Yang (hswayne77) → nobody
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.