[Openstack] Horizon OpenStack Dashboard RC1 on Ubuntu 12.04 B1 -can't get it working
George Mihaiescu
George.Mihaiescu at Q9.com
Wed Mar 21 14:08:39 UTC 2012
Hi Kevin,
Change these lines in "/etc/openstack-dashboard/local_settings.py" and it should fix the issue of being kicked off from Dashboard after logging in:
#CACHE_BACKEND = 'locmem://'
CACHE_BACKEND = 'dummy://'
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
George
________________________________
From: openstack-bounces+george.mihaiescu=q9.com at lists.launchpad.net [mailto:openstack-bounces+george.mihaiescu=q9.com at lists.launchpad.net] On Behalf Of Kevin Jackson
Sent: Wednesday, March 21, 2012 7:24 AM
To: openstack at lists.launchpad.net
Subject: [Openstack] Horizon OpenStack Dashboard RC1 on Ubuntu 12.04 B1 -can't get it working
Dear all,
I could do with some help.
I raised the following bugs in Horizon, specifically to do with Ubuntu.
On a fresh install of Precise I do the following:
apt-get update
apt-get dist-upgrade
reboot
apt-get... nova, etc.
configure keystone etc
upload an image
all is good at this point
I then try and install OpenStack Dashboard:
apt-get update
apt-get install openstack-dashboard
I get the usual install of dependencies - see http://paste.openstack.org/show/11649/
I don't do any configuration - but point my browser at this host.
I get a log in screen up, so I log in with an admin user I set up in keystone
I then hit this bug: https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/959262
You can see the code trying to make a directory /var/www/.novaclient. Given that Apache runs as www-data under Ubuntu and that /var/www is owned by root - this is that problem. A secure fix is required here.
To overcome this I tried setting write permissions to www-data. I then get the first screen up, but on clicking on links takes me back to the log in screen again saying I'm unauthorized for that URI. I enter my details again and then I get presented with the screen I asked for.
On clicking another link, I am taken back to the log in screen again. This is bug https://bugs.launchpad.net/ubuntu/+source/openstack-dashboard/+bug/960070
Tested on Chrome 17.0.963.79 and Firefox 11.0
What am I doing wrong?
Cheers,
Kev
--
Kevin Jackson
@itarchitectkev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120321/55d53095/attachment.html>
More information about the Openstack
mailing list