Clicking on links within Dashboard sends me back to log in screen

Bug #960070 reported by Kevin Jackson
This bug report is a duplicate of:  Bug #968850: intermittent errors and login page. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-dashboard (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After putting a workaround in place for https://bugs.launchpad.net/bugs/959262 by a non-recommended chown of /var/www to be owned by www-data (process owner of Apache) I can then log into Dashboard. But on clicking through links I always get presented with the log in screen saying "access denied for /nova/". I simply put in my details again, to which Keystone agrees with and then I can then see that resource. Clicking on another link I then get sent back to the log in screen. Wash, rinse, repeat...

I had this issue last week on an earlier release.

I'm using Firefox 11.0 and the access log is in this paste: http://paste.openstack.org/show/11325/

openstack-dashboard 2012.1~rc1~20120315.1545-0ubuntu1

(I appreciate that the bug 959262 could, in some way, be related to this given that I put in a workaround)

Revision history for this message
Kevin Jackson (kevin-linuxservices) wrote :

Not sure what to do with this "bug" as I raised this specifically with the Ubuntu package...

1) install memcached to match the config
2) change the config to not use memcached

1) installing memcached solved this problem. So this could be included in dependencies for this package (as the configs, as supplied by Ubuntu assume memcached)
2) changing the config to below also worked.

Either way, doing an install of a package from Ubuntu should set appropriate default values in the configs.

# We recommend you use memcached for development; otherwise after every reload
# of the django development server, you will have to login again. To use
# memcached set CACHE_BACKED to something like 'memcached://127.0.0.1:11211/'
# CACHE_BACKEND = 'locmem://'
CACHE_BACKEND = 'dummy://'
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openstack-dashboard (Ubuntu):
status: New → Confirmed
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.