Cannot display page at all for logged-in users after upgrade django-openstack-auth to the latest

Bug #1363515 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned
django-openstack-auth
Fix Released
High
Akihiro Motoki

Bug Description

If user token object created by the old version of openstack-auth (before b6b52f2), the user cannot display pages or even log out and get the error 'Token' object has no attribute 'user_domain_name' after upgrading openstack-auth to commit b6b52f2 or newer version.

A user who newly login after upgrading openstack-auth can use Horizon successfully.

How to produce in devstack:

   run stack.sh once
   cd /opt/stack/django_openstack
   git checkout abfb9359d260ca437900e976edae2727cd5f18d7
   sudo pip install .
   sudo service apache2 restart

   login Horizon and keep logged in.

   git checkout master (or b6b52f29c070ddd544e3f5cb801cc246970b1815)
   sudo pip install .
   sudo service apache2 restart

   Access Horizon
   You will get the error 'Token' object has no attribute 'user_domain_name'

Revision history for this message
Akihiro Motoki (amotoki) wrote :

It is not a bug in Horizon. I add Horizon to affected project to make it visible to Horizon users.
Once the bug is fixed, we can remove Horizon from affected project.

Changed in django-openstack-auth:
assignee: nobody → Akihiro Motoki (amotoki)
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to django_openstack_auth (master)

Fix proposed to branch: master
Review: https://review.openstack.org/117997

Changed in django-openstack-auth:
status: New → In Progress
Akihiro Motoki (amotoki)
Changed in django-openstack-auth:
milestone: none → 1.1.7
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to django_openstack_auth (master)

Reviewed: https://review.openstack.org/117997
Committed: https://git.openstack.org/cgit/openstack/django_openstack_auth/commit/?id=5c8b0c78f28a9fdc8eea91bc0d89879523dd1959
Submitter: Jenkins
Branch: master

commit 5c8b0c78f28a9fdc8eea91bc0d89879523dd1959
Author: Akihiro Motoki <email address hidden>
Date: Sun Aug 31 07:18:20 2014 +0900

    Consider old version of token without 'user_domain_name' attr

    Closes-Bug: #1363515
    Change-Id: I252b99fba3c48a7ed27af1b7da3b1cb037555eb8

Changed in django-openstack-auth:
status: In Progress → Fix Committed
Revision history for this message
Akihiro Motoki (amotoki) wrote :

django-openstack-auth fix has been merged, so there is no need to hold Horizon bug now.

Changed in horizon:
status: New → Invalid
milestone: juno-rc1 → none
Akihiro Motoki (amotoki)
Changed in django-openstack-auth:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.