Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

thanks Bernd, It's the apache error.

/var/log/httpd/keystone.log

2017-05-29 21:53:14.822961 mod_wsgi (pid=21655): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module.
2017-05-29 21:53:14.823097 mod_wsgi (pid=21655): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'.
2017-05-29 21:53:14.823113 Traceback (most recent call last):
2017-05-29 21:53:14.823123   File "/usr/bin/keystone-wsgi-admin", line 51, in <module>
2017-05-29 21:53:14.823158     application = initialize_admin_application()
2017-05-29 21:53:14.823163   File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 132, in initialize_admin_application
2017-05-29 21:53:14.823193     config_files=_get_config_files())
2017-05-29 21:53:14.823197   File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 56, in initialize_application
2017-05-29 21:53:14.823204     common.configure(config_files=config_files)
2017-05-29 21:53:14.823207   File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 35, in configure
2017-05-29 21:53:14.823225     default_config_files=config_files)
2017-05-29 21:53:14.823230   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2359, in __call__
2017-05-29 21:53:14.823648     self._namespace._files_permission_denied)
2017-05-29 21:53:14.823663 ConfigFilesPermissionDeniedError: Failed to open some config files:         /etc/keystone/keystone.conf
2017-05-29 21:59:48.933584 mod_wsgi (pid=21921): Target WSGI script '/usr/bin/keystone-wsgi-public' cannot be loaded as Python module.
2017-05-29 21:59:48.933632 mod_wsgi (pid=21921): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-public'.
2017-05-29 21:59:48.933660 Traceback (most recent call last):
2017-05-29 21:59:48.933679   File "/usr/bin/keystone-wsgi-public", line 51, in <module>
2017-05-29 21:59:48.933753     application = initialize_public_application()
2017-05-29 21:59:48.933762   File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 137, in initialize_public_application
2017-05-29 21:59:48.933815     config_files=_get_config_files())
2017-05-29 21:59:48.933822   File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 56, in initialize_application
2017-05-29 21:59:48.933836     common.configure(config_files=config_files)
2017-05-29 21:59:48.933842   File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 35, in configure
2017-05-29 21:59:48.933875     default_config_files=config_files)
2017-05-29 21:59:48.933883   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2359, in __call__
2017-05-29 21:59:48.934709     self._namespace._files_permission_denied)
2017-05-29 21:59:48.934746 ConfigFilesPermissionDeniedError: Failed to open some config files: /etc/keystone/keystone.conf

thanks Bernd, It's the apache error.

disable SELinux will avoid this issue below.

/var/log/httpd/keystone.log

2017-05-29 21:53:14.822961 mod_wsgi (pid=21655): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module.
2017-05-29 21:53:14.823097 mod_wsgi (pid=21655): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'.
2017-05-29 21:53:14.823113 Traceback (most recent call last):
2017-05-29 21:53:14.823123   File "/usr/bin/keystone-wsgi-admin", line 51, in <module>
2017-05-29 21:53:14.823158     application = initialize_admin_application()
2017-05-29 21:53:14.823163   File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 132, in initialize_admin_application
2017-05-29 21:53:14.823193     config_files=_get_config_files())
2017-05-29 21:53:14.823197   File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 56, in initialize_application
2017-05-29 21:53:14.823204     common.configure(config_files=config_files)
2017-05-29 21:53:14.823207   File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 35, in configure
2017-05-29 21:53:14.823225     default_config_files=config_files)
2017-05-29 21:53:14.823230   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2359, in __call__
2017-05-29 21:53:14.823648     self._namespace._files_permission_denied)
2017-05-29 21:53:14.823663 ConfigFilesPermissionDeniedError: Failed to open some config files:         /etc/keystone/keystone.conf
2017-05-29 21:59:48.933584 mod_wsgi (pid=21921): Target WSGI script '/usr/bin/keystone-wsgi-public' cannot be loaded as Python module.
2017-05-29 21:59:48.933632 mod_wsgi (pid=21921): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-public'.
2017-05-29 21:59:48.933660 Traceback (most recent call last):
2017-05-29 21:59:48.933679   File "/usr/bin/keystone-wsgi-public", line 51, in <module>
2017-05-29 21:59:48.933753     application = initialize_public_application()
2017-05-29 21:59:48.933762   File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 137, in initialize_public_application
2017-05-29 21:59:48.933815     config_files=_get_config_files())
2017-05-29 21:59:48.933822   File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 56, in initialize_application
2017-05-29 21:59:48.933836     common.configure(config_files=config_files)
2017-05-29 21:59:48.933842   File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 35, in configure
2017-05-29 21:59:48.933875     default_config_files=config_files)
2017-05-29 21:59:48.933883   File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2359, in __call__
2017-05-29 21:59:48.934709     self._namespace._files_permission_denied)
2017-05-29 21:59:48.934746 ConfigFilesPermissionDeniedError: Failed to open some config files: /etc/keystone/keystone.conf