[Openstack] horizon authentication / memcached problems

Beatty Lane-Davis beatty at juniper.net
Wed Aug 29 03:02:33 UTC 2012


Hi,

I'm having some trouble with horizon on centos 6.3.  I've followed the
installation instructions at:
http://docs.openstack.org/essex/openstack-compute/install/yum/content/ch
_install-dashboard.html#dashboard-system-requirements.

I had this working, but following a reboot, horizon hasn't come right.
I've tried reinstalling it, but I'm getting nowhere.  I've got memcached
running:

[root at wonky openstack-dashboard]# netstat -an | grep 11211
tcp        0      0 0.0.0.0:11211               0.0.0.0:*
LISTEN      
tcp        0      0 :::11211                    :::*
LISTEN      
udp        0      0 0.0.0.0:11211               0.0.0.0:*

udp        0      0 :::11211                    :::*

[root at wonky openstack-dashboard]# ps -ea | grep memcached
 3318 ?        00:00:00 memcached
[root at wonky openstack-dashboard]# service memcached status
memcached (pid  3318) is running...

But with this config in my /etc/openstack-dashboard/local_settings file:

CACHE_BACKEND = 'memcached://127.0.0.1:11211/'

I get a django runtime error when I try to load the dashboard:  Unable
to create a new session key.

I've seen others resolve this problem by installing or starting
memcached, but memcached is running in my environment.

Can anyone shed any light on how I can resolve this problem?

Here is the database stanza from the local_settings file:

# FIXME: We need to change this to mysql, instead of sqlite.
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'dash',
        'USER': 'dash',
        'PASSWORD': 'dash',
        'HOST': 'localhost',
        'default-character-set': 'utf8'
    },
}
CACHE_BACKEND = 'memcached://127.0.0.1:11211/'

Thanks.

Cheers,
b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120829/96d7269c/attachment.html>


More information about the Openstack mailing list