use redis as coordinator

by default we use sql as coordinator but gnocchi has high locking
requirements becuase of number of sacks which far exceeds default
100 connection limit of sql. switch to use redis as lock manager
instead.

Closes-Bug: #1681955

Change-Id: I9f7606c17535432743c3bdd0cda0e4200f03d328
This commit is contained in:
gord chung 2017-04-27 15:14:07 +00:00 committed by gordon chung
parent 2a6c20794a
commit 065c0eaf4f
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ for storage in ${GNOCCHI_TEST_STORAGE_DRIVERS}; do
export GNOCCHI_SERVICE_TOKEN="" # Just make gabbi happy
export GNOCCHI_AUTHORIZATION="basic YWRtaW46" # admin in base64
export OS_TEST_PATH=gnocchi/tests/functional_live
pifpaf -e GNOCCHI run gnocchi --indexer-url $INDEXER_URL --storage-url $STORAGE_URL -- ./tools/pretty_tox.sh $*
pifpaf -e GNOCCHI run gnocchi --indexer-url $INDEXER_URL --storage-url $STORAGE_URL --coordination-driver redis -- ./tools/pretty_tox.sh $*
cleanup
done

View File

@ -65,7 +65,7 @@ doc =
Jinja2
reno>=1.6.2
test =
pifpaf>=0.25.0
pifpaf>=1.0.1
gabbi>=1.30.0
coverage>=3.6
fixtures