Red Hat Bugzilla – Bug 986423
Keystone uses memcached Function not in Current version of python-memcached
Last modified: 2016-01-04 09:42:47 EST
Description of problem:
Recent changes to Keystone use the compare and set functions of memcache. However, the python-memcached package in Fedora 19 and earlier is 1.48, and it does not have this capability. The latest easy_install package, python_memcached-1.53, does have this functionality.
To reproduce, set the token backend to be memcache in /etc/keysteon/keystone.conf
driver = keystone.token.backends.memcache.Token
restart the server and run
source an approciate user rc file that sets the env vars:
$OS_AUTH_URL $OS_PASSWORD $OS_TENANT_NAME $OS_USERNAME
Error shows the missing cas function getting the memcache client
Are you referring to this Havana review?
As such I'm moving this to rawhide.
Note the global upstream requirements should probably be updated,
then the keystone requirements.
You'll have to get buy in from all distros though (I notice 1.48 elsewhere)
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.
More information and reason for this action is here:
Adam, https://review.openstack.org/31585 merged upstream without corresponding version requirement for python-memcached which is the main mechanism to inform distributions about version requirements.
This means memcache backend is broken in Havana on Fedora with distro version of python-memcached, do you see a possible workaround for Fedora openstack-keystone RPM?
If there isn't, this should move to python-memcached, as a request to update.
After chatting w/ ayoung, there isn't workaround we need python-memchached updated to 1.53.
The question still stands that this should've been expressed as a versioned dependency in upstream's requirements.txt
memcached is an optional component, and is not in requirements.txt at all. It is, however, in the test equivalent. It should be updated there, but we will not be modifying that for Havana.
There is obviously a problem with how Keystone is doing optional components that this exposes. We will look into adjusting it for future releases.
Since F19 and F20 now have 1.53 I'm moving this to RDO component
It seems that 1.48 is good enough to support this?
But we'll probably upgrade to 1.53 to align with Fedora >= 19
python-memcached-1.53 now in RDO EL repos