openstack q版 keystone 配置 redis 启动报错
/etc/keystone/keystone.conf
[cache]
enabled=true
expiration_time=600
backend=dogpile.cache.redis
backend_argument=url:redis://127.0.0.1:6379/2
.......
[token]
caching=true
driver = keystone.token.persistence.backends.kvs.Token
tail -f /var/log/httpd/keystone.log
ImportError: (u'Unable to find %(name)r driver in %(namespace)r.', {'namespace': 'keystone.token.persistence', 'name': 'keystone.token.persistence.backends.kvs.Token'})
.....
2020-07-21 16:38:54.464150 mod_wsgi (pid=21203): Target WSGI script '/usr/bin/keystone-wsgi-public' cannot be loaded as Python module.
2020-07-21 16:38:54.464188 mod_wsgi (pid=21203): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-public'.
2020-07-21 16:38:54.464240 Traceback (most recent call last):
2020-07-21 16:38:54.464277 File "/usr/bin/keystone-wsgi-public", line 54, in
2020-07-21 16:38:54.464315 application = initialize_public_application()
2020-07-21 16:38:54.464334 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 134, in initialize_public_application
2020-07-21 16:38:54.464358 config_files=_get_config_files())
2020-07-21 16:39:55.434943 ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option