Keystone Redis Caching
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
New
|
Undecided
|
Unassigned |
Bug Description
As trying to integrate the Keystone with Redis as the caching layer (the procedures are working fine with the Memcached), the following error is being shown:
The information:
OS = Ubuntu 20.04
Openstack repo: Ubuntu cloud (Wallaby edition)
keystone version 19.0.0
When i issue the "openstack endpoint list --service identity" command, and the output shows the "Internal Server Error (HTTP 500)".
=======
The following error is the error shown in the /var/log/
here is the link for https:/
the following is the content of the link:
2021-05-01 16:37:17.350115 mod_wsgi (pid=241861): Exception occurred processing WSGI script '/usr/bin/
2021-05-01 16:37:17.358549 Traceback (most recent call last):
2021-05-01 16:37:17.359016 File "/usr/lib/
2021-05-01 16:37:17.359044 return self.wsgi_
2021-05-01 16:37:17.359072 File "/usr/lib/
2021-05-01 16:37:17.359083 return self.app(environ, start_response)
2021-05-01 16:37:17.359104 File "/usr/lib/
2021-05-01 16:37:17.359114 resp = self.call_func(req, *args, **kw)
2021-05-01 16:37:17.359134 File "/usr/lib/
2021-05-01 16:37:17.359144 return self.func(req, *args, **kwargs)
2021-05-01 16:37:17.359165 File "/usr/lib/
2021-05-01 16:37:17.359174 response = req.get_
2021-05-01 16:37:17.359195 File "/usr/lib/
2021-05-01 16:37:17.359204 status, headers, app_iter = self.call_
2021-05-01 16:37:17.359225 File "/usr/lib/
2021-05-01 16:37:17.359239 app_iter = application(
2021-05-01 16:37:17.359260 File "/usr/lib/
2021-05-01 16:37:17.359271 return resp(environ, start_response)
2021-05-01 16:37:17.359293 File "/usr/lib/
2021-05-01 16:37:17.359304 resp = self.call_func(req, *args, **kw)
2021-05-01 16:37:17.359325 File "/usr/lib/
2021-05-01 16:37:17.359339 return self.func(req, *args, **kwargs)
2021-05-01 16:37:17.359363 File "/usr/lib/
2021-05-01 16:37:17.359373 response = req.get_
2021-05-01 16:37:17.359395 File "/usr/lib/
2021-05-01 16:37:17.359406 status, headers, app_iter = self.call_
2021-05-01 16:37:17.359429 File "/usr/lib/
2021-05-01 16:37:17.359439 app_iter = application(
2021-05-01 16:37:17.359460 File "/usr/lib/
2021-05-01 16:37:17.359470 resp = self.call_func(req, *args, **kw)
2021-05-01 16:37:17.359492 File "/usr/lib/
2021-05-01 16:37:17.359502 return self.func(req, *args, **kwargs)
2021-05-01 16:37:17.359523 File "/usr/lib/
2021-05-01 16:37:17.359534 return request.
2021-05-01 16:37:17.359579 File "/usr/lib/
2021-05-01 16:37:17.359589 status, headers, app_iter = self.call_
2021-05-01 16:37:17.359611 File "/usr/lib/
2021-05-01 16:37:17.359625 app_iter = application(
2021-05-01 16:37:17.359648 File "/usr/lib/
2021-05-01 16:37:17.359658 resp = self.call_func(req, *args, **kw)
2021-05-01 16:37:17.359679 File "/usr/lib/
2021-05-01 16:37:17.359688 return self.func(req, *args, **kwargs)
2021-05-01 16:37:17.359709 File "/usr/lib/
2021-05-01 16:37:17.359722 response = req.get_
2021-05-01 16:37:17.359745 File "/usr/lib/
2021-05-01 16:37:17.359754 status, headers, app_iter = self.call_
2021-05-01 16:37:17.359776 File "/usr/lib/
2021-05-01 16:37:17.359785 app_iter = application(
2021-05-01 16:37:17.359806 File "/usr/lib/
2021-05-01 16:37:17.359817 return self.app(environ, start_response)
2021-05-01 16:37:17.359839 File "/usr/lib/
2021-05-01 16:37:17.359849 resp = self.call_func(req, *args, **kw)
2021-05-01 16:37:17.359871 File "/usr/lib/
2021-05-01 16:37:17.359880 return self.func(req, *args, **kwargs)
2021-05-01 16:37:17.359902 File "/usr/lib/
2021-05-01 16:37:17.359912 response = req.get_
2021-05-01 16:37:17.359933 File "/usr/lib/
2021-05-01 16:37:17.359942 status, headers, app_iter = self.call_
2021-05-01 16:37:17.359963 File "/usr/lib/
2021-05-01 16:37:17.359973 app_iter = application(
2021-05-01 16:37:17.359994 File "/usr/lib/
2021-05-01 16:37:17.360004 return app(environ, start_response)
2021-05-01 16:37:17.360026 File "/usr/lib/
2021-05-01 16:37:17.360036 response = self.handle_
2021-05-01 16:37:17.360057 File "/usr/lib/
2021-05-01 16:37:17.360066 return original_handler(e)
2021-05-01 16:37:17.360087 File "/usr/lib/
2021-05-01 16:37:17.360097 return original_handler(e)
2021-05-01 16:37:17.360118 File "/usr/lib/
2021-05-01 16:37:17.360127 return original_handler(e)
2021-05-01 16:37:17.360148 [Previous line repeated 27 more times]
2021-05-01 16:37:17.360171 File "/usr/lib/
2021-05-01 16:37:17.360182 reraise(exc_type, exc_value, tb)
2021-05-01 16:37:17.360203 File "/usr/lib/
2021-05-01 16:37:17.360213 raise value.with_
2021-05-01 16:37:17.360233 File "/usr/lib/
2021-05-01 16:37:17.360243 response = self.full_
2021-05-01 16:37:17.360264 File "/usr/lib/
2021-05-01 16:37:17.360284 rv = self.handle_
2021-05-01 16:37:17.360308 File "/usr/lib/
2021-05-01 16:37:17.360317 return original_handler(e)
2021-05-01 16:37:17.360338 File "/usr/lib/
2021-05-01 16:37:17.360352 return original_handler(e)
2021-05-01 16:37:17.360375 File "/usr/lib/
2021-05-01 16:37:17.360385 return original_handler(e)
2021-05-01 16:37:17.360406 [Previous line repeated 27 more times]
2021-05-01 16:37:17.360429 File "/usr/lib/
2021-05-01 16:37:17.360440 reraise(exc_type, exc_value, tb)
2021-05-01 16:37:17.360461 File "/usr/lib/
2021-05-01 16:37:17.360471 raise value.with_
2021-05-01 16:37:17.360493 File "/usr/lib/
2021-05-01 16:37:17.360502 rv = self.dispatch_
2021-05-01 16:37:17.360523 File "/usr/lib/
2021-05-01 16:37:17.360533 return self.view_
2021-05-01 16:37:17.360554 File "/usr/lib/
2021-05-01 16:37:17.360565 resp = resource(*args, **kwargs)
2021-05-01 16:37:17.360586 File "/usr/lib/
2021-05-01 16:37:17.360596 return self.dispatch_
2021-05-01 16:37:17.360617 File "/usr/lib/
2021-05-01 16:37:17.360627 resp = meth(*args, **kwargs)
2021-05-01 16:37:17.360648 File "/usr/lib/
2021-05-01 16:37:17.360659 return f(*args, **kwargs)
2021-05-01 16:37:17.360680 File "/usr/lib/
2021-05-01 16:37:17.360690 token = authentication.
2021-05-01 16:37:17.360711 File "/usr/lib/
2021-05-01 16:37:17.360721 auth_info = core.AuthInfo.
2021-05-01 16:37:17.360743 File "/usr/lib/
2021-05-01 16:37:17.360752 auth_info.
2021-05-01 16:37:17.360773 File "/usr/lib/
2021-05-01 16:37:17.360787 self._validate_
2021-05-01 16:37:17.360810 File "/usr/lib/
2021-05-01 16:37:17.360820 project_ref = self._lookup_
2021-05-01 16:37:17.360841 File "/usr/lib/
2021-05-01 16:37:17.360851 domain_ref = self._lookup_
2021-05-01 16:37:17.360873 File "/usr/lib/
2021-05-01 16:37:17.360882 domain_ref = PROVIDERS.
2021-05-01 16:37:17.360903 File "/usr/lib/
2021-05-01 16:37:17.360914 __ret_val = __f(*args, **kwargs)
2021-05-01 16:37:17.360935 File "<decorator-
2021-05-01 16:37:17.360958 File "/usr/lib/
2021-05-01 16:37:17.360969 return self.get_or_create(
2021-05-01 16:37:17.360990 File "/usr/lib/
2021-05-01 16:37:17.361055 key = self.key_
2021-05-01 16:37:17.361083 File "/usr/lib/
2021-05-01 16:37:17.361095 key = '%s:%s' % (key, invalidation_
2021-05-01 16:37:17.361117 File "/usr/lib/
2021-05-01 16:37:17.361126 return self._invalidat
2021-05-01 16:37:17.361148 File "/usr/lib/
2021-05-01 16:37:17.361158 with Lock(
2021-05-01 16:37:17.361179 File "/usr/lib/
2021-05-01 16:37:17.361189 return self._enter()
2021-05-01 16:37:17.361209 File "/usr/lib/
2021-05-01 16:37:17.361223 value = value_fn()
2021-05-01 16:37:17.361246 File "/usr/lib/
2021-05-01 16:37:17.361256 value = self._get_
2021-05-01 16:37:17.361277 File "/usr/lib/
2021-05-01 16:37:17.361286 self.backend.
2021-05-01 16:37:17.361307 File "/usr/lib/
2021-05-01 16:37:17.361317 return cast(Serialized
2021-05-01 16:37:17.361338 File "/usr/lib/
2021-05-01 16:37:17.361348 value = self.proxied.
2021-05-01 16:37:17.361369 File "/usr/lib/
2021-05-01 16:37:17.361378 raise NotImplementedE
2021-05-01 16:37:17.361460 NotImplementedError
follwoing is the keystone.conf configuration for both Apache:
=======
cat /etc/apache2/
Listen 5000
<VirtualHost *:5000>
WSGIScriptAlias / /usr/bin/
WSGIDaemonP
WSGIProcess
WSGIApplica
WSGIPassAut
LimitReques
<IfVersion >= 2.4>
ErrorLogF
</IfVersion>
ErrorLog /var/log/
CustomLog /var/log/
<Directory /usr/bin>
<IfVersion >= 2.4>
<IfVersion < 2.4>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Alias /identity /usr/bin/
<Location /identity>
SetHandler wsgi-script
Options +ExecCGI
WSGIProcess
WSGIApplica
WSGIPassAut
</Location>
=======
Content of /etc/keystone/
[DEFAULT]
log_dir = /var/log/keystone
default_log_levels = oslo.cache=
[application_
[assignment]
[auth]
[cache]
debug_cache_backend = True
backend = dogpile.cache.redis
backend_
enabled = true
[catalog]
[cors]
[credential]
[database]
connection = mysql+pymysql:
[domain_config]
[endpoint_filter]
[endpoint_policy]
[eventlet_server]
[extra_headers]
Distribution = Ubuntu
[federation]
[fernet_receipts]
[fernet_tokens]
[healthcheck]
[identity]
[identity_mapping]
[jwt_tokens]
[ldap]
[memcache]
[oauth1]
[oslo_messaging
[oslo_messaging
[oslo_messaging
[oslo_messaging
[oslo_middleware]
[oslo_policy]
[policy]
[profiler]
[receipt]
[resource]
[revoke]
[role]
[saml]
[security_
[shadow_users]
[token]
provider = fernet
caching = true
driver = keystone.
[tokenless_auth]
[totp]
[trust]
[unified_limit]
[wsgi]