From c12178920bf273c645b0c16fd6d878f9c2ece2eb Mon Sep 17 00:00:00 2001 From: Hidekazu Nakamura Date: Wed, 26 Jul 2017 14:30:18 +0900 Subject: [PATCH] [Doc] Add Configure Cinder Notifications Cinder data model was added in Pike cycle and that needs configuration in cinder.conf for refreshing the model in real time. This patch set adds Add Configure Cinder Notifications section for explaining the configuration. Change-Id: I41cc870e2d47c56fd7c9fcdd6f03c95fa939c3f2 --- doc/source/configuration/configuring.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/source/configuration/configuring.rst b/doc/source/configuration/configuring.rst index d37915696..7541b10f4 100644 --- a/doc/source/configuration/configuring.rst +++ b/doc/source/configuration/configuring.rst @@ -430,6 +430,26 @@ to Watcher receives Nova notifications in ``watcher_notifications`` as well. * Restart the Nova services. +Configure Cinder Notifications +============================== + +Watcher can also consume notifications generated by the Cinder services, in +order to build or update, in real time, its cluster data model related to +storage resources. To do so, you have to update the Cinder configuration +file on controller and volume nodes, in order to let Watcher receive Cinder +notifications in a dedicated ``watcher_notifications`` channel. + + * In the file ``/etc/cinder/cinder.conf``, update the section + ``[oslo_messaging_notifications]``, by redefining the list of topics + into which Cinder services will publish events :: + + [oslo_messaging_notifications] + driver = messagingv2 + topics = notifications,watcher_notifications + + * Restart the Cinder services. + + Workers =======