Ask Your Question
0

login to horizon fail while using keystone http mode

asked 2014-04-15 01:43:13 -0500

liranc gravatar image

updated 2014-04-15 01:44:11 -0500

i am getting the following error : unsupported operand type(s) for +: 'NoneType' and 'str' Exception Location: /usr/lib/python2.7/dist-packages/neutronclient/client.py in authenticate

while trying to login as admin to the openstack dashboard. The cli is working as expected but horizon is broken. I tried to find some info related to this issue and the only related issue was due to some re-auth of neutron client.

if i switch back to the keystone standard mode (not http mode) everything is working as expected including the dashboard but i have to use the http mode cause the keystone can't handle the load with a single worker.

I just migrated from grizzly to havana (2013.2.2) running on ubuntu 12.04.3 TLS with keystone under http (ssl = false).

Not sure its related to horizon but hope i will get some information that will help me solve this issue.

Regards --LC

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-06-06 04:15:25 -0500

liranc gravatar image

The issue was related to the fact that I have both keystone wsgi and horizon on the same instance under the same apache web. The horizon configuration was redirecting the keystone wsgi request causing the horizon to fail. I moved the horizon to a different instance and deleted all the horizon related configuration from the keystone instance and this solved the problem. I know that there is a patch for this which allows to install both services on the same host but I don't have the details.

edit flag offensive delete link more
0

answered 2014-04-15 07:48:28 -0500

jpichon gravatar image

This isn't exactly the same error but I just noticed this bug on Launchpad: https://bugs.launchpad.net/horizon/+b... about issues when using Horizon and deploying Keystone on Apache. There is a proposed fix that you might be interested in trying, which touches a piece of code that was added during Havana (and may explain why this is only happening after upgrading).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-04-15 01:43:13 -0500

Seen: 263 times

Last updated: Jun 06 '14