← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1494271] Re: ERROR django.request Internal Server Error: /dashboard/auth/login/

 

This appears to have bee fixed by https://bugs.launchpad.net/django-
openstack-auth/+bug/1491117

** Changed in: horizon
       Status: New => Won't Fix

** Changed in: horizon
       Status: Won't Fix => Invalid

-- 
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/1494271

Title:
  ERROR django.request Internal Server Error: /dashboard/auth/login/

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  After updating

  openstack-dashboard                    noarch                  2015.1.1-1.el7                   openstack-kilo                   5.2 M
  python-django-horizon                  noarch                  2015.1.1-1.el7                   openstack-kilo                   490 k

  I couldn't login anymore through horizon. Tried to restart the httpd
  daemon, rebooted the whole server but nothing seemed to solve the
  issue:

  2015-09-10 11:02:50,420 12908 WARNING openstack_auth.forms Login failed for user "admin".
  2015-09-10 11:02:55,859 12908 INFO openstack_auth.forms Login successful for user "admin".
  2015-09-10 11:02:55,860 12908 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"'4995ccefedd54229a9a04be92904bc07' value must be an integer."]

  downgrading to:

  * openstack-dashboard-2015.1.0-7.el7.noarch
  * python-django-horizon-2015.1.0-7.el7.noarch

  solved the issue temporarily

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


References