← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1498458] [NEW] Login to Horizon failed with error -->ValidationError at /auth/login/

 

Public bug reported:

Using devstack with master branch, initially login to horizon was
working but after some time it start failing with error-->
ValidationError: [u"'867dfff16d6747848011a26f314e5345' value must be an
integer."]

Here 867dfff16d6747848011a26f314e5345 is the admin user id:-
| 867dfff16d6747848011a26f314e5345 |  admin   |   True  |                      |

and if try to login through different user (demo) then also it is
throwing the same error (contains admin user id in error messages)

2015-09-22 20:12:46.674982 Login successful for user "admin".
2015-09-22 20:12:46.675937 Internal Server Error: /dashboard/auth/login/
2015-09-22 20:12:46.675959 Traceback (most recent call last):
2015-09-22 20:12:46.675965   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
2015-09-22 20:12:46.675969     response = wrapped_callback(request, *callback_args, **callback_kwargs)
2015-09-22 20:12:46.675981   File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
2015-09-22 20:12:46.675985     return view(request, *args, **kwargs)
2015-09-22 20:12:46.675988   File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
2015-09-22 20:12:46.675992     response = view_func(request, *args, **kwargs)
2015-09-22 20:12:46.675995   File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
2015-09-22 20:12:46.675998     response = view_func(request, *args, **kwargs)
2015-09-22 20:12:46.676001   File "/usr/local/lib/python2.7/dist-packages/openstack_auth/views.py", line 111, in login
2015-09-22 20:12:46.676005     **kwargs)
2015-09-22 20:12:46.676008   File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
2015-09-22 20:12:46.676011     return view(request, *args, **kwargs)
2015-09-22 20:12:46.676014   File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
2015-09-22 20:12:46.676017     response = view_func(request, *args, **kwargs)
2015-09-22 20:12:46.676020   File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
2015-09-22 20:12:46.676023     response = view_func(request, *args, **kwargs)
2015-09-22 20:12:46.676026   File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/views.py", line 51, in login
2015-09-22 20:12:46.676030     auth_login(request, form.get_user())
2015-09-22 20:12:46.676033   File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 102, in login
2015-09-22 20:12:46.676036     if _get_user_session_key(request) != user.pk or (
2015-09-22 20:12:46.676039   File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 59, in _get_user_session_key
2015-09-22 20:12:46.676042     return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
2015-09-22 20:12:46.676045   File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.py", line 969, in to_python
2015-09-22 20:12:46.676048     params={'value': value},
2015-09-22 20:12:46.676051 ValidationError: [u"'867dfff16d6747848011a26f314e5345' value must be an integer."]

** 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/1498458

Title:
  Login to Horizon failed with error -->ValidationError at /auth/login/

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Using devstack with master branch, initially login to horizon was
  working but after some time it start failing with error-->
  ValidationError: [u"'867dfff16d6747848011a26f314e5345' value must be
  an integer."]

  Here 867dfff16d6747848011a26f314e5345 is the admin user id:-
  | 867dfff16d6747848011a26f314e5345 |  admin   |   True  |                      |

  and if try to login through different user (demo) then also it is
  throwing the same error (contains admin user id in error messages)

  2015-09-22 20:12:46.674982 Login successful for user "admin".
  2015-09-22 20:12:46.675937 Internal Server Error: /dashboard/auth/login/
  2015-09-22 20:12:46.675959 Traceback (most recent call last):
  2015-09-22 20:12:46.675965   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
  2015-09-22 20:12:46.675969     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  2015-09-22 20:12:46.675981   File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
  2015-09-22 20:12:46.675985     return view(request, *args, **kwargs)
  2015-09-22 20:12:46.675988   File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
  2015-09-22 20:12:46.675992     response = view_func(request, *args, **kwargs)
  2015-09-22 20:12:46.675995   File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
  2015-09-22 20:12:46.675998     response = view_func(request, *args, **kwargs)
  2015-09-22 20:12:46.676001   File "/usr/local/lib/python2.7/dist-packages/openstack_auth/views.py", line 111, in login
  2015-09-22 20:12:46.676005     **kwargs)
  2015-09-22 20:12:46.676008   File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
  2015-09-22 20:12:46.676011     return view(request, *args, **kwargs)
  2015-09-22 20:12:46.676014   File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py", line 110, in _wrapped_view
  2015-09-22 20:12:46.676017     response = view_func(request, *args, **kwargs)
  2015-09-22 20:12:46.676020   File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 57, in _wrapped_view_func
  2015-09-22 20:12:46.676023     response = view_func(request, *args, **kwargs)
  2015-09-22 20:12:46.676026   File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/views.py", line 51, in login
  2015-09-22 20:12:46.676030     auth_login(request, form.get_user())
  2015-09-22 20:12:46.676033   File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 102, in login
  2015-09-22 20:12:46.676036     if _get_user_session_key(request) != user.pk or (
  2015-09-22 20:12:46.676039   File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py", line 59, in _get_user_session_key
  2015-09-22 20:12:46.676042     return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])
  2015-09-22 20:12:46.676045   File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.py", line 969, in to_python
  2015-09-22 20:12:46.676048     params={'value': value},
  2015-09-22 20:12:46.676051 ValidationError: [u"'867dfff16d6747848011a26f314e5345' value must be an integer."]

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