On Fri, Oct 02, 2015 at 03:36:07PM +0200, varun bhatnagar wrote:
> Hi,
>
> I am using OpenStack Kilo with single node setup.
> I am trying to use Sahara project. As soon as I launch a cluster using
> template I get logged out from the dashboard and if I try to login again I
> get Validation Error.
> Can anyone please help.
.....
> "/usr/local/lib/python2.7/dist-packages/openstack_auth/views.py" in
> login 111. **kwargs)File
> "/usr/local/lib/python2.7/dist-packages/django/views/decorators/debug.py"
> in sensitive_post_parameters_wrapper 76. return
> view(request, *args, **kwargs)File
> "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in
> _wrapped_view 110. response = view_func(request,
> *args, **kwargs)File
> "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py"
> in _wrapped_view_func 57. response = view_func(request,
> *args, **kwargs)File
> "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/views.py"
> in login 51. auth_login(request, form.get_user())File
> "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py"
> in login 102. if _get_user_session_key(request) != user.pk or
> (File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py"
> in _get_user_session_key 59. return
> get_user_model()._meta.pk.to_python(request.session[SESSION_KEY])File
> "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.py"
> in to_python 969. params={'value': value},Exception
> Type: ValidationError at /auth/login/Exception Value:
> [u"'3bb5b1226dee4b28b2215827bf515ea2' value must be an integer."]
You seem to use a self installed django and seem to use horizon
installed to a local directory.
Please note, Horizon in Kilo version does not support Django-1.8 by
default. There are a few patches required, and you need to know,
what you're doing.
Either downgrade to Django-1.7 or upgrade to Liberty version.
--
Matthias Runge <[email protected]>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack