Bug 1000391 - Horizon: Cannot log-in. Exception Value: 'User' object has no attribute 'services_region'
Summary: Horizon: Cannot log-in. Exception Value: 'User' object has no attribute 'serv...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-openstack-auth
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: beta
: 4.0
Assignee: Ami Jeain
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-23 11:02 UTC by Gilles Dubreuil
Modified: 2013-12-20 00:21 UTC (History)
5 users (show)

Fixed In Version: python-django-openstack-auth-1.1.2-1.el6ost
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-20 00:21:35 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

Description Gilles Dubreuil 2013-08-23 11:02:07 UTC
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):
python-django-horizon-2013.2-0.4.1b2.el6ost.noarch
python-django-openstack-auth-1.0.6-2.el6ost.noarch


Additional info:
The issue is know because an higher version of python-django-openstack-auth is required.

Workaround:
Using python-django-openstack-auth-1.0.11-1.el6.noarch.rpm from Havana/RDO.

Comment 2 Kevin Carter 2013-10-23 03:39:59 UTC
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.

Comment 3 Matthias Runge 2013-10-23 06:52:27 UTC
Kevin, the last sentence makes me very suspicious, if you cleared your cookies after updating the package AND restarting httpd?

Comment 4 Kevin Carter 2013-10-24 20:43:47 UTC
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.

Comment 5 Matthias Runge 2013-10-25 10:52:15 UTC
Kevin, glad it worked for you and the solution was that simple.

Comment 6 Scott Lewis 2013-11-19 16:54:35 UTC
Auto adding >= MODIFIED bugs to beta

Comment 11 errata-xmlrpc 2013-12-20 00:21:35 UTC
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.

http://rhn.redhat.com/errata/RHEA-2013-1859.html


Note You need to log in before you can comment on or make changes to this bug.