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.
Reviewed: https:/ /review. openstack. org/542133 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=ce06c0ce103 5964ecf117bd56f 769174508dc269
Committed: https:/
Submitter: Zuul
Branch: master
commit ce06c0ce1035964 ecf117bd56f7691 74508dc269
Author: wangxiyuan <email address hidden>
Date: Thu Feb 8 17:19:28 2018 +0800
Add arguments for MemcacheClientPool init
Now keystonemiddleware use oslo.cache to init the entPool. The MemcacheClientPool in
MemcacheCli
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 use_advanced_ pool = True" will lead another
"memcache_
error, see bug #1747565 for the detail. It will be
fixed in the following patch.
Closes-bug: #1748160 207314312a6b6a0 6a6de23e92c
Change-Id: I642f959ab8b010