← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1247703] Re: Unexpected keyword argument 'cache_cas' after upgrade keystone from Grizzly to Havana

 

1.48 is correct and was set as the minimum value for both havana and
beyond.

** Changed in: keystone
     Assignee: Adam Young (ayoung) => (unassigned)

** Changed in: keystone
       Status: Incomplete => Invalid

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

Title:
  Unexpected keyword argument 'cache_cas' after upgrade keystone from
  Grizzly to Havana

Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  Hi list,

  I'm working under CentOS 6.4.

  I'm trying to upgrade my set-up from Grizzly to Havana, after I upgraded keystone, I get error:
          keystone user-list
          Authorization Failed: init() got an unexpected keyword argument 'cache_cas' (HTTP 400)

  After change to token driver back to sql,
          [token]
          driver = keystone.token.backends.sql.Token
          # driver = keystone.token.backends.memcache.Token

  It works normal again.

  As the keystone.log pointed, the issue is caused by "keystone/token/backends/memcache.py":
          self._memcache_client = memcache.Client(memcache_servers, debug=0,
                                                  cache_cas=True)

  But, I checked my phython-memcached, I believe it is already the newest version:
          yum list | grep memcache
          memcached.x86_64                         1.4.4-3.el6                    @base
          python-memcached.noarch                  1.43-6.el6                     @base

  Anyone know why this happen?

  Thanks.
  -chen

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