Cannot display page at all for logged-in users after upgrade django-openstack-auth to the latest
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/
git checkout abfb9359d260ca4
sudo pip install .
sudo service apache2 restart
login Horizon and keep logged in.
git checkout master (or b6b52f29c070ddd
sudo pip install .
sudo service apache2 restart
Access Horizon
You will get the error 'Token' object has no attribute 'user_domain_name'
Changed in django-openstack-auth: | |
milestone: | none → 1.1.7 |
Changed in horizon: | |
milestone: | none → juno-rc1 |
Changed in django-openstack-auth: | |
status: | Fix Committed → Fix Released |
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.