From 216e63c1fa5e564017d99f410c6f964af15fa277 Mon Sep 17 00:00:00 2001
From: licanwei
Date: Tue, 20 Nov 2018 11:25:45 +0800
Subject: [PATCH] Fix doc about nova notifications
Change-Id: I65bd9dcee37baa244975120f136ee41ce366bceb
---
doc/source/configuration/configuring.rst | 26 ++++++++++--------------
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git a/doc/source/configuration/configuring.rst b/doc/source/configuration/configuring.rst
index 326c0bc42..55fe7c152 100644
--- a/doc/source/configuration/configuring.rst
+++ b/doc/source/configuration/configuring.rst
@@ -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