Merge "Fix doc about nova notifications"
This commit is contained in:
commit
6f1dace5c8
@ -403,26 +403,22 @@ Watcher can consume notifications generated by the Nova services, in order to
|
||||
build or update, in real time, its cluster data model related to computing
|
||||
resources.
|
||||
|
||||
Nova publishes, by default, notifications on ``notifications`` AMQP queue
|
||||
(configurable) and ``versioned_notifications`` AMQP queue (not
|
||||
configurable). ``notifications`` queue is mainly used by ceilometer, so we can
|
||||
not use it. And some events, related to nova-compute service state, are only
|
||||
sent into the ``versioned_notifications`` queue.
|
||||
Nova emits unversioned(legacy) and versioned notifications on different
|
||||
topics. Because legacy notifications will be deprecated, Watcher consumes
|
||||
Nova versioned notifications.
|
||||
|
||||
By default, Watcher listens to AMQP queues named ``watcher_notifications``
|
||||
and ``versioned_notifications``. So you have to update the Nova
|
||||
configuration file on controller and compute nodes, in order
|
||||
to Watcher receives Nova notifications in ``watcher_notifications`` as well.
|
||||
|
||||
* In the file ``/etc/nova/nova.conf``, update the section
|
||||
``[oslo_messaging_notifications]``, by redefining the list of topics
|
||||
into which Nova services will publish events ::
|
||||
* In the file ``/etc/nova/nova.conf``, the value of driver in the section
|
||||
``[oslo_messaging_notifications]`` can't be noop, and the value of
|
||||
notification_format in the section ``[notifications]``
|
||||
should be both or versioned ::
|
||||
|
||||
[oslo_messaging_notifications]
|
||||
driver = messagingv2
|
||||
topics = notifications,watcher_notifications
|
||||
|
||||
* Restart the Nova services.
|
||||
...
|
||||
|
||||
[notifications]
|
||||
notification_format = both
|
||||
|
||||
|
||||
Configure Cinder Notifications
|
||||
|
Loading…
x
Reference in New Issue
Block a user