Red Hat Bugzilla – Bug 1000391
Horizon: Cannot log-in. Exception Value: 'User' object has no attribute 'services_region'
Last modified: 2013-12-19 19:21:35 EST
Description of problem:
No user can ogin to Openstack Horizon dashboard.
In debug mode the message is:
Exception Value: 'User' object has no attribute 'services_region'
Version-Release number of selected component (if applicable):
The issue is know because an higher version of python-django-openstack-auth is required.
Using python-django-openstack-auth-1.0.11-1.el6.noarch.rpm from Havana/RDO.
I wanted to confirm that this is still effecting package :
Name : python-django-openstack-auth
Arch : noarch
Version : 1.1.2
Release : 1.el6
Size : 78 k
Repo : installed
From repo : epel-openstack
Running Horizon as a single server, in verbose mode with all settings yields this error:
[23/Oct/2013 03:17:04] "POST /auth/login/ HTTP/1.1" 403 1006
Horizon started with:
/usr/share/openstack-dashboard/manage.py runserver --insecure --settings=openstack_dashboard.settings --pythonpath=/usr/share/openstack-dashboard/ -v 3 --traceback x.x.x.x:80
This does not show any additional failures and or stack traces besides what was already mentioned.
Presently the workaround in downgrading the AUTH package does still work.
Kevin, the last sentence makes me very suspicious, if you cleared your cookies after updating the package AND restarting httpd?
Hey Matthias, thanks for the reply. It seems that when upgrading, which was what i was testing, all I needed to do was a simple restart of Apache. While I thought I had done that initially, it seems on m subsequent upgrade tests everything is working as expected. Thank you again.
Kevin, glad it worked for you and the solution was that simple.
Auto adding >= MODIFIED bugs to beta
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.