← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1233817] Re: python-django-horizon (havana) does not require python-openstack-auth >= 1.1.1

 

Glad this is resolved! Closing the Horizon bug.

** Changed in: horizon
       Status: New => 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/1233817

Title:
  python-django-horizon (havana) does not require python-openstack-auth
  >= 1.1.1

Status in Ubuntu Cloud Archive:
  New
Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  Using the openstack-dashboard package from the cloud archive,
  openstack havana release, I am unable to log in to horizon. After
  submitting the login form, I am simply redirected back to the login
  form. There is no error displayed by the browser, or logged by apache.

  It is first necessary to address #1210253 to get horizon to load at
  all, which I did by applying a patch similar to
  http://launchpadlibrarian.net/148082203/horizon_1%3A2013.2~b2-0ubuntu2_1%3A2013.2~b2-0ubuntu3.diff.gz
  to the UCA package.

  I also set DEBUG=True in local_settings.py, and changed the SECRET_KEY
  path to /tmp, so that www-data is able to write the generated file.

  When I submit the login form, Apache logs the following:

  ==> /var/log/apache2/error.log <==
  [Tue Oct 01 19:12:08 2013] [error] DEBUG:openstack_auth.backend:Beginning user authentication for user "admin".
  [Tue Oct 01 19:12:08 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1
  [Tue Oct 01 19:12:08 2013] [error] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 1309
  [Tue Oct 01 19:12:08 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1
  [Tue Oct 01 19:12:08 2013] [error] DEBUG:urllib3.connectionpool:"GET /v2.0/tenants HTTP/1.1" 200 143
  [Tue Oct 01 19:12:08 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1
  [Tue Oct 01 19:12:08 2013] [error] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 5427
  [Tue Oct 01 19:12:08 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 172.20.21.7
  [Tue Oct 01 19:12:09 2013] [error] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 5427
  [Tue Oct 01 19:12:09 2013] [error] DEBUG:openstack_auth.backend:Authentication completed for user "admin".

  ==> /var/log/apache2/access.log <==
  172.20.33.199 - - [01/Oct/2013:19:12:08 +0000] "POST /horizon/auth/login/ HTTP/1.1" 302 20 "http://xen10.macprofessionals.lan/horizon/auth/login/"; "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130917 Firefox/17.0 Iceweasel/17.0.9"
  172.20.33.199 - - [01/Oct/2013:19:12:09 +0000] "GET /horizon HTTP/1.1" 200 733 "http://xen10.macprofessionals.lan/horizon/auth/login/"; "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130917 Firefox/17.0 Iceweasel/17.0.9"

  I see that my browser is sending sessionid and csrftoken cookies with
  the request.

  I believe that authentication is working, because if I enter invalid
  credentials, I do get an error. I am also able to successfully
  authenticate with the command line API clients (nova, glance, etc)
  with the following environment:

  # env | grep OS_
  OS_REGION_NAME=RegionOne
  OS_PASSWORD=admin
  OS_AUTH_STRATEGY=keystone
  OS_AUTH_URL=http://xen10.macprofessionals.lan:5000/v2.0/
  OS_USERNAME=admin
  OS_TENANT_NAME=admin
  OS_NO_CACHE=true

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: openstack-dashboard 1:2013.2~b2-0ubuntu2~cloud0 [origin: Canonical]
  ProcVersionSignature: Ubuntu 3.8.0-31.46~precise1-generic 3.8.13.8
  Uname: Linux 3.8.0-31-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.4
  Architecture: amd64
  CrashDB: cloud_archive
  Date: Tue Oct  1 15:06:04 2013
  InstallationMedia: Ubuntu-Server 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.2)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: horizon
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.openstack.dashboard.local.settings.py: 2013-10-01T14:52:27.653153

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1233817/+subscriptions