From 0fa71e8ded2bf862c4b645115810530bdf1eb33c Mon Sep 17 00:00:00 2001 From: Gordon Chung Date: Mon, 8 Apr 2013 17:00:54 -0400 Subject: [PATCH] update devstack instructions for cinder update devstack documentation to include instructions on how to enable cinder notifications fix docstring in volume notifications to say volume instead of compute Change-Id: I9491b4384b212f973211da7e7f716cd7d11d8052 --- ceilometer/volume/notifications.py | 2 +- doc/source/install/development.rst | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ceilometer/volume/notifications.py b/ceilometer/volume/notifications.py index 3a57fe3fe..b58a81e3b 100644 --- a/ceilometer/volume/notifications.py +++ b/ceilometer/volume/notifications.py @@ -36,7 +36,7 @@ cfg.CONF.register_opts(OPTS) class _Base(plugin.NotificationBase): - """Convert compute.instance.* notifications into Counters + """Convert volume notifications into Counters """ metadata_keys = [ diff --git a/doc/source/install/development.rst b/doc/source/install/development.rst index e49daf810..690258de7 100644 --- a/doc/source/install/development.rst +++ b/doc/source/install/development.rst @@ -44,7 +44,12 @@ Configuring Devstack instances by default. To enable these auditing events, set ``instance_usage_audit`` to true in the nova configuration file. -4. The ceilometer services are not enabled by default, so they must be +4. Cinder does not generate notifications by default. To enable + these auditing events, set the following in the cinder configuration file:: + + notification_driver=cinder.openstack.common.notifier.rpc_notifier + +5. The ceilometer services are not enabled by default, so they must be enabled in ``localrc`` before running ``stack.sh``. This example ``localrc`` file shows all of the settings required for