Closed Bug 1035305 Opened 12 years ago Closed 12 years ago

write a consumer to keep notifications.* rabbit queues empty

Categories

(Infrastructure & Operations :: RelOps: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dustin, Assigned: dividehex)

References

Details

OpenStack sets up consumer queues for this exchange and then doesn't read from them.
Blocks: 1031667
OK, a few options: 1. Set 'notification_topics =' in nova, neutron, and openstack configs (at least, those are the names of the exchanges these queues are bound to). This should set the list of topics to [], which will cause it to produce no notifications. But it might set the list to [''] which wouldn't do any good. 2. Crontask to remove the queues, although they're re-created on every reconnect. 3. Crontask to purge the queues. This is pretty simple, but depending on publish frequency and crontask frequency, we'd still see a lot of messages. 4. Service to consume from the queues. This is more complex, but the queues would never fill. Over to Jake to try #1, since the configs are in his puppet env; if that doesn't work, I'll do #3.
Assignee: dustin → jwatkins
I don't see a way to disabling notification without impacting rpc communications between openstack services. I've got a temporary cron script in place to purge the queue running on ironic1 and I've default_notification_level = ERROR which should cut the messages to the notifications.info queue. I'll check that tomorrow.
(In reply to Jake Watkins [:dividehex] from comment #2) > I don't see a way to disabling notification without impacting rpc > communications between openstack services. I was wrong. Commenting out the notification_driver puts its back to a default noop driver and stops the notifications.* messages without affecting the other rpc queues. I've removed the temporary cron purge task and so far no messages are queuing. Since we don't actually use notifications at this time, I would call this fixed for now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Resolution: FIXED → WONTFIX
You need to log in before you can comment on or make changes to this bug.