← Back to team overview

openstack team mailing list archive

Re: horizon and keystone no route matched error

 

Removing trailing slash in local_settings.py in horizon worked. Thank you all for the help.
-jay


________________________________
From: Gabriel Hurley <Gabriel.Hurley@xxxxxxxxxx>
To: Dolph Mathews <dolph.mathews@xxxxxxxxx> 
Cc: jay_s_b <jay_s_b@xxxxxxxxx>; "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx> 
Sent: Wednesday, March 21, 2012 5:34 PM
Subject: RE: [Openstack] horizon and keystone no route matched error


It’s not a trailing slash on the URL sent to keystone. It’s a trailing slash in the Horizon setting which leads to a double-slash in the URL sent to keystone.
 
-          Gabriel
 
From:antiver@xxxxxxxxx [mailto:antiver@xxxxxxxxx] On Behalf Of Dolph Mathews
Sent: Wednesday, March 21, 2012 5:26 PM
To: Gabriel Hurley
Cc: jay_s_b; openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] horizon and keystone no route matched error
 
Wasn't this fixed in keystoneclient (properly handling an unexpected trailing slash)?
 
-Dolph
On Wed, Mar 21, 2012 at 6:56 PM, Gabriel Hurley <Gabriel.Hurley@xxxxxxxxxx> wrote:
It looks like you’ve got an extra slash in your URL. That probably means you’ve got a trailing slash on your OPENSTACK_KEYSTONE_URL setting. As per the example settings file it should look like this:
 
OPENSTACK_KEYSTONE_URL = "http://%25s:5000/v2.0"; % OPENSTACK_HOST
 
e.g.
 
OPENSTACK_KEYSTONE_URL = http://127.0.0.1:5000/v2.0
 
Hopefully that helps.
 
-          Gabriel
 
 
From:openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of jay_s_b
Sent: Wednesday, March 21, 2012 4:28 PM
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] horizon and keystone no route matched error
 
Hello,
I have installed horizon dash board from git and integrating with nova. When I login to dashboard, I am getting error. Error: please try logging again.
In dashboard log, I see  the following error:
Request returned failure status.
In keystone log, I see 
2012-03-21 15:37:02    DEBUG [routes.middleware] No route matched for POST //tokens
2012-03-21 15:37:02    DEBUG [eventlet.wsgi.server] 16.213.0.39 - - [21/Mar/2012 15:37:02] "POST /v2.0//tokens HTTP/1.1" 404 228 0.000782"routes.middleware
 
Any clue regarding this is appreciated.
Thanks,
jay 

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

References