Cinder configuration is not set up for Ceilometer

enable cinder notifications when ceilometer is enabled

Change-Id: I55809f1cef35aca90f8513a73df1417dcf08098d
Fixes:Bug1210269
This commit is contained in:
Gordon Chung
2013-08-09 10:55:12 -04:00
parent 334c3a71bd
commit 2bfbc779c7

View File

@@ -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