← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1436324] Re: Keystone is not HA with memcache as token persistence driver

 

memcached is not HA by design. This isn't really something we can fix in
Keystone, other than to removed this backend. memcached should really
only by used in situations where it is a cache and the application can
run even with it shut off.

** Changed in: keystone
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1436324

Title:
  Keystone is not HA with memcache as token persistence driver

Status in OpenStack Identity (Keystone):
  Won't Fix

Bug description:
  Keystone becomes extremely slow if one of memcached servers, used as
  token persistence driver, stops working. This happens because Keystone
  re-initializes memcache client on every call and memcache client loses
  information about dead servers and time until they are dead.

  To reproduce the issue:
  1. Set up two memcached instances on, say, virtual machines
  2. Set [token]driver=keystone.token.persistence.backends.memcache_pool.Token
  3. Set [memcache]servers=192.168.56.101:11211,192.168.56.102:11211 (change ip to your own)
  4. Break down one of the servers. By turning the server off for example
  5. Try signing in in Horizon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1436324/+subscriptions


References