With the applied patch, you can see the revocation list in memcached:
ran devstack, killed keystone server, modified /etc/keystone/keystone.conf with
[token] driver = keystone.token.backends.memcache.Token #driver = keystone.token.backends.sql.Token
service start memcached
restarted keystone server
sourced openrc
as demo user, created a bunch of tokens using cli token-get
export OS_USERNAME=admin export ADMINTOKEN=` keystone token-get | awk '/ id /{print $4}'`
deleted a bunch of tokens using: curl -X DELETE -H "X-Auth-Token:$ADMINTOKEN" http://localhost:35357/v2.0/tokens/$USERTOKEN
ran the following code in the python interpreter
import memcache memcache_client = memcache.Client(['localhost'],debug=0) memcache_client.get(revocation_key)
output looks like this:
'{"id": "83d677322322fc279a6a11c9c7474cb3"},{"id": "089dfcc4e55f96301d3d19beb663435d"},{"id": "36851e53e0027bf55c32b12a898b2950"}'
With the applied patch, you can see the revocation list in memcached:
ran devstack, killed keystone server, modified /etc/keystone/ keystone. conf with
[token] token.backends. memcache. Token token.backends. sql.Token
driver = keystone.
#driver = keystone.
service start memcached
restarted keystone server
sourced openrc
as demo user, created a bunch of tokens using cli token-get
export OS_USERNAME=admin
export ADMINTOKEN=` keystone token-get | awk '/ id /{print $4}'`
deleted a bunch of tokens using: Token:$ ADMINTOKEN" http:// localhost: 35357/v2. 0/tokens/ $USERTOKEN
curl -X DELETE -H "X-Auth-
ran the following code in the python interpreter
import memcache Client( ['localhost' ],debug= 0) client. get(revocation_ key)
memcache_client = memcache.
memcache_
output looks like this:
'{"id": "83d677322322fc 279a6a11c9c7474 cb3"},{ "id": "089dfcc4e55f96 301d3d19beb6634 35d"},{ "id": "36851e53e0027b f55c32b12a898b2 950"}'