memcache_use_advanced_pool = True doesn't work when use oslo.cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystonemiddleware |
Fix Released
|
Undecided
|
wangxiyuan |
Bug Description
Env: keystonemiddleware master, oslo.cache master
now keystonemiddleware use oslo.cache for memcache pool.
But when set memcache_
use Cinde for example, Error Log:
[None req-fb207801-
Traceback (most recent call last):
File "/opt/stack/
return req.get_
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
return resp(environ, start_response)
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/usr/local/
return request.
File "/usr/local/
application, catch_exc_
File "/usr/local/
app_iter = application(
File "/usr/local/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/
return self.func(req, *args, **kwargs)
File "/opt/stack/
response = self.process_
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
*
File "/opt/stack/
**kwargs)
TypeError: __init__() takes exactly 3 arguments (2 given)
How to reproduce:
1. install the newest keystonemiddleware and oslo.cache
2. set memcache_
3. restart Cinder
4. print command "cinder list"
Expect: cinder will return the volume list
Actual: cinder raise 500 error, the error log is mentioned above.
Changed in keystonemiddleware: | |
assignee: | nobody → wangxiyuan (wangxiyuan) |
Fix proposed to branch: master /review. openstack. org/542133
Review: https:/