Hello,
I'm trying to configure a "Kilo" server (CentOS 7.x) reading,
step-by-step, the PDF manual. However, after installing and
configuring dashboard, I can't connect with browser. Log files say:
/var/log/httpd/keystone-error.log:
[...]
2015-07-02 07:36:09.740902 mod_wsgi (pid=2768): Attach
interpreter ''.
2015-07-02 07:36:09.744007 mod_wsgi (pid=2769): Attach
interpreter ''.
2015-07-02 07:36:09.746298 mod_wsgi (pid=2770): Attach
interpreter ''.
2015-07-02 07:36:09.749608 mod_wsgi (pid=2772): Attach
interpreter ''.
2015-07-02 07:36:09.752940 mod_wsgi (pid=2776): Attach
interpreter ''.
2015-07-02 07:36:09.758848 mod_wsgi (pid=2774): Attach
interpreter ''.
2015-07-02 07:36:21.745586 mod_wsgi (pid=2771,
process='keystone-public', application=''): Loading WSGI script
'/var/www/cgi-bin/keystone/main'.
2015-07-02 07:36:22.744582 mod_wsgi (pid=2772,
process='keystone-public', application=''): Loading WSGI script
'/var/www/cgi-bin/keystone/main'.
/var/log/keystone/keystone.log:
2015-07-02 07:36:23.557 2772 ERROR
keystone.common.wsgi [-] 'Token' object has no
attribute 'list_events'
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
Traceback (most recent call last):
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/keystone/common/wsgi.py", line
449, in __call__
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
response = self.process_request(request)
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/keystone/middleware/core.py",
line 238, in process_request
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
auth_context = self._build_auth_context(request)
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/keystone/middleware/core.py",
line 218, in _build_auth_context
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
token_data=self.token_provider_api.validate_token(token_id))
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/keystone/token/provider.py",
line 200, in validate_token
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
self._is_valid_token(token)
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/keystone/token/provider.py",
line 299, in _is_valid_token
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
self.check_revocation(token)
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/keystone/token/provider.py",
line 237, in check_revocation
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
return self.check_revocation_v2(token)
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/keystone/token/provider.py",
line 211, in check_revocation_v2
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
self.revoke_api.check_token(token_values)
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/keystone/contrib/revoke/core.py",
line 217, in check_token
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi if
self._get_revoke_tree().is_revoked(token_values):
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line
1040, in decorate
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
should_cache_fn)
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line
651, in get_or_create
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
async_creator) as value:
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line
158, in __enter__
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
return self._enter()
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line
98, in _enter
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
generated = self._enter_create(createdtime)
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/dogpile/core/dogpile.py", line
149, in _enter_create
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
created = self.creator()
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line
619, in gen_value
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
created_value = creator()
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line
1036, in creator
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
return fn(*arg, **kw)
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi File
"/usr/lib/python2.7/site-packages/keystone/contrib/revoke/core.py",
line 202, in _get_revoke_tree
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
events = self.driver.list_events()
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
AttributeError: 'Token' object has no attribute
'list_events'
2015-07-02 07:36:23.557 2772 TRACE keystone.common.wsgi
/var/log/httpd/error_log:
[Thu Jul 02 11:36:23.563299 2015] [:error] [pid
2767] Internal Server Error: /dashboard/auth/login/
[Thu Jul 02 11:36:23.563329 2015] [:error] [pid 2767]
Traceback (most recent call last):
[Thu Jul 02 11:36:23.563332 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/core/handlers/base.py",
line 132, in get_response
[Thu Jul 02 11:36:23.563335 2015] [:error] [pid 2767]
response = wrapped_callback(request, *callback_args,
**callback_kwargs)
[Thu Jul 02 11:36:23.563337 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/views/decorators/debug.py",
line 76, in sensitive_post_parameters_wrapper
[Thu Jul 02 11:36:23.563340 2015] [:error] [pid 2767]
return view(request, *args, **kwargs)
[Thu Jul 02 11:36:23.563341 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/utils/decorators.py",
line 110, in _wrapped_view
[Thu Jul 02 11:36:23.563343 2015] [:error] [pid 2767]
response = view_func(request, *args, **kwargs)
[Thu Jul 02 11:36:23.563346 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/views/decorators/cache.py",
line 57, in _wrapped_view_func
[Thu Jul 02 11:36:23.563348 2015] [:error] [pid 2767]
response = view_func(request, *args, **kwargs)
[Thu Jul 02 11:36:23.563350 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/openstack_auth/views.py", line
111, in login
[Thu Jul 02 11:36:23.563351 2015] [:error] [pid 2767]
**kwargs)
[Thu Jul 02 11:36:23.563353 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/views/decorators/debug.py",
line 76, in sensitive_post_parameters_wrapper
[Thu Jul 02 11:36:23.563356 2015] [:error] [pid 2767]
return view(request, *args, **kwargs)
[Thu Jul 02 11:36:23.563357 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/utils/decorators.py",
line 110, in _wrapped_view
[Thu Jul 02 11:36:23.563359 2015] [:error] [pid 2767]
response = view_func(request, *args, **kwargs)
[Thu Jul 02 11:36:23.563361 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/views/decorators/cache.py",
line 57, in _wrapped_view_func
[Thu Jul 02 11:36:23.563370 2015] [:error] [pid 2767]
response = view_func(request, *args, **kwargs)
[Thu Jul 02 11:36:23.563372 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/contrib/auth/views.py",
line 44, in login
[Thu Jul 02 11:36:23.563374 2015] [:error] [pid 2767] if
form.is_valid():
[Thu Jul 02 11:36:23.563376 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/forms/forms.py", line
184, in is_valid
[Thu Jul 02 11:36:23.563378 2015] [:error] [pid 2767]
return self.is_bound and not self.errors
[Thu Jul 02 11:36:23.563379 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/forms/forms.py", line
176, in errors
[Thu Jul 02 11:36:23.563381 2015] [:error] [pid 2767]
self.full_clean()
[Thu Jul 02 11:36:23.563383 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/forms/forms.py", line
393, in full_clean
[Thu Jul 02 11:36:23.563385 2015] [:error] [pid 2767]
self._clean_form()
[Thu Jul 02 11:36:23.563386 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/forms/forms.py", line
417, in _clean_form
[Thu Jul 02 11:36:23.563388 2015] [:error] [pid 2767]
cleaned_data = self.clean()
[Thu Jul 02 11:36:23.563390 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/views/decorators/debug.py",
line 36, in sensitive_variables_wrapper
[Thu Jul 02 11:36:23.563392 2015] [:error] [pid 2767]
return func(*func_args, **func_kwargs)
[Thu Jul 02 11:36:23.563394 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/openstack_auth/forms.py", line
122, in clean
[Thu Jul 02 11:36:23.563395 2015] [:error] [pid 2767]
auth_url=region)
[Thu Jul 02 11:36:23.563397 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py",
line 74, in authenticate
[Thu Jul 02 11:36:23.563399 2015] [:error] [pid 2767] user
= backend.authenticate(**credentials)
[Thu Jul 02 11:36:23.563401 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/openstack_auth/backend.py",
line 127, in authenticate
[Thu Jul 02 11:36:23.563403 2015] [:error] [pid 2767]
unscoped_auth_ref)
[Thu Jul 02 11:36:23.563404 2015] [:error] [pid 2767] File
"/usr/lib/python2.7/site-packages/openstack_auth/plugin/base.py",
line 95, in list_projects
[Thu Jul 02 11:36:23.563406 2015] [:error] [pid 2767] msg
= _('Unable to retrieve authorized projects.')
[Thu Jul 02 11:36:23.563408 2015] [:error] [pid 2767] NameError:
global name '_' is not defined
Could somebody help me? After browse google and a lot of pages, I
have not found yet the solution...
Thanks.
What am I doing wrong?
|