summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2016-09-20 15:34:51 +0200
committerJulien Danjou <julien@danjou.info>2016-10-04 17:46:38 +0200
commit8902dd10272c05ff3113f2b65d2c9c0f0540343b (patch)
treee05ffc8a2f301a46c7b6ccec6b0cba4e9443d81c /devstack
parente5e5cf5ff6978d02ea78ba4568b8169def6ab339 (diff)
downloadceilometer-8902dd10272c05ff3113f2b65d2c9c0f0540343b.tar.gz
collector: do not set any dispatcher by default
This changes remove database as the default dispatcher so we stop shipping a default that we don't recommend. Change-Id: Idf2f171c4dabbee78308b0fbabeeaa541b782b66
Diffstat (limited to 'devstack')
-rw-r--r--devstack/plugin.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index fa2178c4..1da5f672 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -237,6 +237,7 @@ function _ceilometer_configure_cache_backend {
# Set configuration for storage backend.
function _ceilometer_configure_storage_backend {
if [ "$CEILOMETER_BACKEND" = 'mysql' ] || [ "$CEILOMETER_BACKEND" = 'postgresql' ] ; then
+ iniset $CEILOMETER_CONF DEFAULT meter_dispatchers database
iniset $CEILOMETER_CONF database event_connection $(database_connection_url ceilometer)
iniset $CEILOMETER_CONF database metering_connection $(database_connection_url ceilometer)
elif [ "$CEILOMETER_BACKEND" = 'es' ] ; then
@@ -245,6 +246,7 @@ function _ceilometer_configure_storage_backend {
iniset $CEILOMETER_CONF database metering_connection $(database_connection_url ceilometer)
${TOP_DIR}/pkg/elasticsearch.sh start
elif [ "$CEILOMETER_BACKEND" = 'mongodb' ] ; then
+ iniset $CEILOMETER_CONF DEFAULT meter_dispatchers database
iniset $CEILOMETER_CONF database event_connection mongodb://localhost:27017/ceilometer
iniset $CEILOMETER_CONF database metering_connection mongodb://localhost:27017/ceilometer
elif [ "$CEILOMETER_BACKEND" = 'gnocchi' ] ; then