Ask Your Question

Use Redis for Keystone token persistence driver

asked 2016-01-07 03:12:29 -0500

zsolt-krenak gravatar image

Hi All!

I'm looking for a solution to use Redis as a token persistence driver for Keystone. We got a 3 node HA cluster, and currently using sql backend with Galera replication but we would like a more optimal solution. Memcached backend is not usable for HA cluster. Redis as a KVS would be a perfect solution with and it's already deployed as we are using it for Ceilometer workload partitioning. I cloudn't find any config reference for this. Is it supported? If it is can someone point me for some guide.

Thanks in advance!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-17 06:14:50 -0500

dongc gravatar image

updated 2016-01-17 06:17:11 -0500

[cache] enabled=true
backend=dogpile.cache.redis backend_argument=url:<host>/<port>/<db> [token] caching=true driver = keystone.token.persistence.backends.kvs.Token

edit flag offensive delete link more


Hi! Thanks for the answer, somehow I didn't get an email about it. So my problem is still that there is no documentation how the url should be constructed for a HA Redis with Sentinel.

For example, Tooz driver has a really straight forward documentation.

zsolt-krenak gravatar imagezsolt-krenak ( 2016-04-27 02:38:19 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-01-07 03:12:29 -0500

Seen: 650 times

Last updated: Jan 17 '16