From 2bfbc779c7254604d666edca87a7a582b2c7ac40 Mon Sep 17 00:00:00 2001 From: Gordon Chung Date: Fri, 9 Aug 2013 10:55:12 -0400 Subject: [PATCH] Cinder configuration is not set up for Ceilometer enable cinder notifications when ceilometer is enabled Change-Id: I55809f1cef35aca90f8513a73df1417dcf08098d Fixes:Bug1210269 --- lib/cinder | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/cinder b/lib/cinder index 3472dcd519..14950c7f4d 100644 --- a/lib/cinder +++ b/lib/cinder @@ -234,6 +234,10 @@ function configure_cinder() { 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