Ask Your Question

keystone memcache backend

asked 2014-02-24 09:19:29 -0500

deepak gravatar image

We have couple of keystone servers, with a memcache server for generating token. We configured keystone servers as below: driver = keystone.token.backends.memcache.Token

We created a user named "deepak" on both the keystone servers, and when issued a user-list we can see the same name but different id.

We authenticated with keystoneserver1 and used that token to get tenants on keystoneserver2. But the keystoneserver2 GET tenants is failing with a 404 [no user found with id:XXXX].

Is this verification of the token , is it based on the user-ID and not the user-Name? What if we tweak the code and modify the verification to be based on userName , does that effect any other components as of your knowledge ?

Your comments and suggestions please. Thanks,

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-02-24 21:08:22 -0500

nethawk gravatar image

As I know,keystone can only save token data in memcache,not including user datas. So when you issued a user-list,it will get user datas from database. So if your two keystone servers use different database,the same user can be created and the ids are different.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-02-24 09:19:29 -0500

Seen: 272 times

Last updated: Feb 24 '14