← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1363515] [NEW] Cannot display page at all for logged-in users after upgrade django-openstack-auth to the latest

 

Public bug reported:

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'

** Affects: django-openstack-auth
     Importance: High
     Assignee: Akihiro Motoki (amotoki)
         Status: New

** Affects: horizon
     Importance: Undecided
         Status: New

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

** Changed in: django-openstack-auth
   Importance: Undecided => High

** Changed in: django-openstack-auth
     Assignee: (unassigned) => Akihiro Motoki (amotoki)

-- 
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/1363515

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

Status in Django OpenStack Auth:
  New
Status in OpenStack Dashboard (Horizon):
  New

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'

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


Follow ups

References