← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1482505] [NEW] error when login dashboard

 

Public bug reported:

when login dashboard without any operation for 40 minutes,then you need login again,and there will be an error :"An unexpected error has occurred. Try refreshing the page. If that doesn't "
"help, contact your local administrator."

In file /var/log/horizon/horizon.log , it shows:
2015-07-30 08:10:56,451 26786 INFO openstack_auth.forms Login successful for user "admin".
2015-07-30 08:10:56,451 26786 ERROR django.request Internal Server Error: /dashboard/auth/login/
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
    return view(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/openstack_auth/views.py", line 111, in login
    **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
    return view(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 51, in login
    auth_login(request, form.get_user())
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 102, in login
    if _get_user_session_key(request) != user.pk or (
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 59, in _get_user_session_key
    return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
  File "/usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 969, in to_python
    params={'value': value},
ValidationError: [u'\u201926dee20cfa504431af61b0e2a7986cdf\u2018 \u5fc5\u987b\u4e3a\u6574\u6570\u3002']

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1482505

Title:
  error when login dashboard

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  when login dashboard without any operation for 40 minutes,then you need login again,and there will be an error :"An unexpected error has occurred. Try refreshing the page. If that doesn't "
  "help, contact your local administrator."

  In file /var/log/horizon/horizon.log , it shows:
  2015-07-30 08:10:56,451 26786 INFO openstack_auth.forms Login successful for user "admin".
  2015-07-30 08:10:56,451 26786 ERROR django.request Internal Server Error: /dashboard/auth/login/
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
      response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
      return view(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
      response = view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
      response = view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/openstack_auth/views.py", line 111, in login
      **kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
      return view(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
      response = view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
      response = view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 51, in login
      auth_login(request, form.get_user())
    File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 102, in login
      if _get_user_session_key(request) != user.pk or (
    File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 59, in _get_user_session_key
      return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
    File "/usr/lib/python2.7/site-packages/django/db/models/fields/__init__.py", line 969, in to_python
      params={'value': value},
  ValidationError: [u'\u201926dee20cfa504431af61b0e2a7986cdf\u2018 \u5fc5\u987b\u4e3a\u6574\u6570\u3002']

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1482505/+subscriptions