← Back to team overview

openstack team mailing list archive

Re: 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)?

On Wed, Mar 21, 2012 at 6:56 PM, Gabriel Hurley <Gabriel.Hurley@xxxxxxxxxx<mailto: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://%s:5000/v2.0<http://%25s:5000/v2.0>" % OPENSTACK_HOST



Hopefully that helps.

-          Gabriel

From: openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx<mailto:nebula.com@xxxxxxxxxxxxxxxxxxx> [mailto:openstack-bounces+gabriel.hurley<mailto:openstack-bounces%2Bgabriel.hurley>=nebula.com@xxxxxxxxxxxxxxxxxxx<mailto:nebula.com@xxxxxxxxxxxxxxxxxxx>] On Behalf Of jay_s_b
Sent: Wednesday, March 21, 2012 4:28 PM
To: openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Subject: [Openstack] horizon and keystone no route matched error

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] - - [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.

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

Follow ups