enable caching

we need to explicitly turn on caching

see: ea191cacb14818989564ffe1f3727f28be3c3a21

Change-Id: I02306629a9abe278590719fdc5a081aaccd4ca70
Closes-Bug: #1633590
This commit is contained in:
gord chung 2016-10-17 16:15:56 +00:00 committed by gordon chung
parent ae1e1519e2
commit 88a3e91429
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ function cleanup_ceilometer {
# NOTE(cdent): This currently only works for redis. Still working
# out how to express the other backends.
function _ceilometer_configure_cache_backend {
iniset $CEILOMETER_CONF cache enabled True
iniset $CEILOMETER_CONF cache backend $CEILOMETER_CACHE_BACKEND
iniset $CEILOMETER_CONF cache backend_argument url:$CEILOMETER_CACHE_URL
iniadd_literal $CEILOMETER_CONF cache backend_argument distributed_lock:True