Ask Your Question
0

[Keystone] How and when does keystone clear token data in cache?

asked 2017-09-13 03:47:24 -0600

TenderDanger gravatar image

I have learned that keystone can store token data in cache. I am wondering whether keystone is going to clear token data from cache. If not, how to clear them?

As my effort to solve this problem, I use strace command to observe keystone process, I found that the commands sent by keystone to memcached(I used memcached as cache) didn't contain TTL information. Thus my question.

I later found that there is a cache_time config option in keystone.conf, which defaults to <none>. This rather confused me: Does keystone recommend that token data, when cached, shall not be cleared?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2017-09-16 17:28:17 -0600

Bernd Bausch gravatar image

It will be cleared when the token expires, but you can use cache_time to delete it earlier. See https://docs.openstack.org/keystone/l....

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-09-13 03:43:26 -0600

Seen: 24 times

Last updated: Sep 16