← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1331406] Re: can not login to Dashboard on devstack

 

This isn't a bug with Keystone, it was raised by keystone changing the
token format to not match the is_asn1_token check. Because this check
failed the length of the token id exceeded the key size limitation for
the session. The fix is to not check if the token is ASN1 before
hashing, but to hash if the token length is > maximuma llowable size.

** Also affects: django-openstack-auth
   Importance: Undecided
       Status: New

** Changed in: keystone
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1331406

Title:
  can not login to Dashboard on devstack

Status in Django OpenStack Auth:
  New
Status in OpenStack Dashboard (Horizon):
  Confirmed
Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  Using fresh master of devstack and fresh masters of all services.

  When I try to login into the Dashboard, I do not leave the login page
  (as if nothing happened, no error displayed). Strangely the screen log
  for horizon service in devstack displays

  [Wed Jun 18 10:09:46.533780 2014] [:error] [pid 24605:tid 139679844230912] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.122.162
  [Wed Jun 18 10:09:46.535449 2014] [:error] [pid 24605:tid 139679844230912] DEBUG:urllib3.connectionpool:Setting read timeout to None
  [Wed Jun 18 10:09:46.623021 2014] [:error] [pid 24605:tid 139679844230912] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 1352
  [Wed Jun 18 10:09:46.633130 2014] [:error] [pid 24605:tid 139679844230912] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.122.162
  [Wed Jun 18 10:09:46.633459 2014] [:error] [pid 24605:tid 139679844230912] DEBUG:urllib3.connectionpool:Setting read timeout to None
  [Wed Jun 18 10:09:46.652504 2014] [:error] [pid 24605:tid 139679844230912] DEBUG:urllib3.connectionpool:"GET /v2.0/tenants HTTP/1.1" 200 244
  [Wed Jun 18 10:09:46.654398 2014] [:error] [pid 24605:tid 139679844230912] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.122.162
  [Wed Jun 18 10:09:46.654701 2014] [:error] [pid 24605:tid 139679844230912] DEBUG:urllib3.connectionpool:Setting read timeout to None
  [Wed Jun 18 10:09:46.750292 2014] [:error] [pid 24605:tid 139679844230912] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 7457
  [Wed Jun 18 10:09:46.753146 2014] [:error] [pid 24605:tid 139679844230912] Login successful for user "demo".
  [Wed Jun 18 10:09:46.753354 2014] [:error] [pid 24605:tid 139679844230912] DeprecationWarning: check_for_test_cookie is deprecated; ensure your login view is CSRF-protected.
  [Wed Jun 18 10:09:46.753396 2014] [:error] [pid 24605:tid 139679844230912] WARNING:py.warnings:DeprecationWarning: check_for_test_cookie is deprecated; ensure your login view is CSRF-protected.

  
  Note the "Login successful" line. All the OS cli clients work as expected with the same credentials I use to login.

To manage notifications about this bug go to:
https://bugs.launchpad.net/django-openstack-auth/+bug/1331406/+subscriptions


References