keystonemiddleware/keystonemiddleware
wangxiyuan c21f7f43ee Add arguments for MemcacheClientPool init
Now keystonemiddleware use oslo.cache to init the
MemcacheClientPool. The MemcacheClientPool in
Olso.cache needs (urls, arguments, **kwargs) parameter
to init, but keystonemiddleware passed only
(urls, **kwargs). Then it leads the error:
__init__() takes exactly 3 arguments (2 given)

This patch fixed this issue.

Please note that even this error is fixed, set
"memcache_use_advanced_pool = True" will lead another
error, see bug #1747565 for the detail. It will be
fixed in the following patch.

Conflicts:
	keystonemiddleware/tests/unit/auth_token/test_cache.py

Closes-bug: #1748160
Change-Id: I642f959ab8b010207314312a6b6a06a6de23e92c
(cherry picked from commit ce06c0ce10)
2018-07-23 21:26:25 +00:00
..
_common Replace six.iteritems() with .items() 2017-07-12 13:43:55 +07:00
audit Update URLs in documentation 2017-07-20 16:38:16 +08:00
auth_token Add arguments for MemcacheClientPool init 2018-07-23 21:26:25 +00:00
echo Replace six.iteritems() with .items() 2017-07-12 13:43:55 +07:00
locale Imported Translations from Zanata 2017-11-16 06:38:15 +00:00
tests Add arguments for MemcacheClientPool init 2018-07-23 21:26:25 +00:00
__init__.py Moving middleware to new location 2014-06-19 15:50:41 -07:00
ec2_token.py use oslo.log instead of logging 2017-01-13 03:24:18 +00:00
exceptions.py Create a Config object 2016-06-10 18:21:56 +00:00
fixture.py Remove use of positional decorator 2017-08-07 13:18:19 -07:00
i18n.py Update URLs in documentation 2017-07-20 16:38:16 +08:00
opts.py Move auth token opts calculation into auth_token 2016-06-13 14:03:23 -03:00
s3_token.py Rename auth_uri to www_authenticate_uri 2017-10-11 14:00:49 +02:00