When configured to use the memcache connection pool, clients (e.g. neutron-server) fail with:
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors Traceback (most recent call last): 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/oslo_middleware/catch_errors.py", line 40, in __call__ 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors response = req.get_response(self.application) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/request.py", line 1316, in send 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors application, catch_exc_info=False) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/request.py", line 1280, in call_application 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors app_iter = application(self.environ, start_response) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/dec.py", line 131, in __call__ 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors resp = self.call_func(req, *args, **self.kwargs) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/dec.py", line 196, in call_func 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors return self.func(req, *args, **kwargs) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 331, in __call__ 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors response = self.process_request(req) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 622, in process_request 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors resp = super(AuthProtocol, self).process_request(request) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 404, in process_request 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors allow_expired=allow_expired) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 434, in _do_fetch_token 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors data = self.fetch_token(token, **kwargs) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 736, in fetch_token 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors cached = self._cache_get_hashes(token_hashes) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 719, in _cache_get_hashes 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors cached = self._token_cache.get(token) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_cache.py", line 214, in get 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors with self._cache_pool.reserve() as cache: 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__ 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors return self.gen.next() 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_cache.py", line 98, in reserve 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors with self._pool.get() as client: 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/eventlet/queue.py", line 295, in get 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors return self._get() 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_memcache_pool.py", line 149, in _get 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors conn = ConnectionPool._get(self) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_memcache_pool.py", line 97, in _get 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors conn = self._create_connection() 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_memcache_pool.py", line 143, in _create_connection 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors socket_timeout=self._socket_timeout) 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/memcache.py", line 223, in __init__ 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors super(Client, self).__init__() 2018-07-18 21:00:32.568 14810 ERROR oslo_middleware.catch_errors TypeError: super(type, obj): obj must be an instance or subtype of type
When configured to use the memcache connection pool, clients (e.g. neutron-server) fail with:
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware .catch_ errors Traceback (most recent call last): .catch_ errors File "/usr/lib/ python2. 7/site- packages/ oslo_middleware /catch_ errors. py", line 40, in __call__ .catch_ errors response = req.get_ response( self.applicatio n) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ webob/request. py", line 1316, in send .catch_ errors application, catch_exc_ info=False) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ webob/request. py", line 1280, in call_application .catch_ errors app_iter = application( self.environ, start_response) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ webob/dec. py", line 131, in __call__ .catch_ errors resp = self.call_func(req, *args, **self.kwargs) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ webob/dec. py", line 196, in call_func .catch_ errors return self.func(req, *args, **kwargs) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ _init__ .py", line 331, in __call__ .catch_ errors response = self.process_ request( req) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ _init__ .py", line 622, in process_request .catch_ errors resp = super(AuthProtocol, self).process_ request( request) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ _init__ .py", line 404, in process_request .catch_ errors allow_expired= allow_expired) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ _init__ .py", line 434, in _do_fetch_token .catch_ errors data = self.fetch_ token(token, **kwargs) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ _init__ .py", line 736, in fetch_token .catch_ errors cached = self._cache_ get_hashes( token_hashes) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ _init__ .py", line 719, in _cache_get_hashes .catch_ errors cached = self._token_ cache.get( token) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ cache.py" , line 214, in get .catch_ errors with self._cache_ pool.reserve( ) as cache: .catch_ errors File "/usr/lib64/ python2. 7/contextlib. py", line 17, in __enter__ .catch_ errors return self.gen.next() .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ cache.py" , line 98, in reserve .catch_ errors with self._pool.get() as client: .catch_ errors File "/usr/lib/ python2. 7/site- packages/ eventlet/ queue.py" , line 295, in get .catch_ errors return self._get() .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ memcache_ pool.py" , line 149, in _get .catch_ errors conn = ConnectionPool. _get(self) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ memcache_ pool.py" , line 97, in _get .catch_ errors conn = self._create_ connection( ) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ keystonemiddlew are/auth_ token/_ memcache_ pool.py" , line 143, in _create_connection .catch_ errors socket_ timeout= self._socket_ timeout) .catch_ errors File "/usr/lib/ python2. 7/site- packages/ memcache. py", line 223, in __init__ .catch_ errors super(Client, self).__init__() .catch_ errors TypeError: super(type, obj): obj must be an instance or subtype of type
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware
2018-07-18 21:00:32.568 14810 ERROR oslo_middleware