Set default ceilometer storage backend to gnocchi
The default storage backend is always set in ceilometer gate job, but it needs to be set to a sensible default value. Closes-Bug: #1707713 Change-Id: Ibe3939f114e843810a12c2f27c35a8a91dbce6ac
This commit is contained in:
parent
f65359805a
commit
ab0be96b28
@ -12,7 +12,7 @@ CEILOMETER_AUTH_CACHE_DIR=${CEILOMETER_AUTH_CACHE_DIR:-/var/cache/ceilometer}
|
||||
CEILOMETER_WSGI_DIR=${CEILOMETER_WSGI_DIR:-/var/www/ceilometer}
|
||||
|
||||
# Set up no backend
|
||||
CEILOMETER_BACKEND=${CEILOMETER_BACKEND:-none}
|
||||
CEILOMETER_BACKEND=${CEILOMETER_BACKEND:-gnocchi}
|
||||
if [ "$CEILOMETER_BACKEND" = "es" ] || [ "$CEILOMETER_BACKEND" = "mysql" ] || [ "$CEILOMETER_BACKEND" = "postgresql" ] || [ "$CEILOMETER_BACKEND" = "mongodb" ]; then
|
||||
enable_service ceilometer-api
|
||||
elif [ "$CEILOMETER_BACKEND" = "gnocchi" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user