Nova/Quantum Notifications in RabbitMQ
Hi all,
I'm trying to catch nova/quantum modules (and others later) notifications.
What I would like to catch are events that indicate changes in instances and network:
- Instance create/delete/suspend
- IP assigning/deleting
- Port add/delete
- Security Groups changes
The problem is that I don't catch any notification messages.
I noticed that Nova doesn't send notifications.# to the nova exchange but to the default AMQP exchange.
As an example, when I suspend/resume an instance, the only messages I get are requests from Nova and Quantum. I don't see any messages with event_type.
I found the following documents: https://wiki.openstack.org/wiki/Oslo/Messaging https://wiki.openstack.org/wiki/SystemUsageData https://wiki.openstack.org/wiki/NotificationEventExamples and of course - http://docs.openstack.org/developer/nova/devref/rpc.html
I am using the RabbitMQ API to query the exchanges/queues existing on the controller and bind a queue to each exchange.
I am "listening" to the following exchanges (topic/fanout): nova, quantum, openstack, compute, q-agent, scheduler, conductor
and I filter out the following methods: service_update, report_state, update_service_capabilities.
- Am I doing something wrong? (probably yes)
- Where are the notifications being sent to?
- For what exchanges should I bind to get the notifications I need?
- I didn't quite understand what is the oslo.message...
Thanks in advance! Tzafrir
can't attach output - no karma!