Browse code

Cinder configuration is not set up for Ceilometer

enable cinder notifications when ceilometer is enabled

Change-Id: I55809f1cef35aca90f8513a73df1417dcf08098d
Fixes:Bug1210269

Gordon Chung authored on 2013/08/09 23:55:12
Showing 1 changed files
... ...
@@ -234,6 +234,10 @@ function configure_cinder() {
234 234
     iniset $CINDER_CONF DEFAULT state_path $CINDER_STATE_PATH
235 235
     iniset $CINDER_CONF DEFAULT periodic_interval $CINDER_PERIODIC_INTERVAL
236 236
 
237
+    if is_service_enabled ceilometer; then
238
+        iniset $CINDER_CONF DEFAULT notification_driver "cinder.openstack.common.notifier.rpc_notifier"
239
+    fi
240
+
237 241
     if is_service_enabled tls-proxy; then
238 242
         # Set the service port for a proxy to take the original
239 243
         iniset $CINDER_CONF DEFAULT osapi_volume_listen_port $CINDER_SERVICE_PORT_INT