Cinder configuration is not set up for Ceilometer
enable cinder notifications when ceilometer is enabled
Change-Id: I55809f1cef35aca90f8513a73df1417dcf08098d
Fixes:Bug1210269
diff --git a/lib/cinder b/lib/cinder
index 3472dcd..14950c7 100644
--- a/lib/cinder
+++ b/lib/cinder
@@ -234,6 +234,10 @@
iniset $CINDER_CONF DEFAULT state_path $CINDER_STATE_PATH
iniset $CINDER_CONF DEFAULT periodic_interval $CINDER_PERIODIC_INTERVAL
+ if is_service_enabled ceilometer; then
+ iniset $CINDER_CONF DEFAULT notification_driver "cinder.openstack.common.notifier.rpc_notifier"
+ fi
+
if is_service_enabled tls-proxy; then
# Set the service port for a proxy to take the original
iniset $CINDER_CONF DEFAULT osapi_volume_listen_port $CINDER_SERVICE_PORT_INT