Ask Your Question

"Unable to authenticate to any available projects."

asked 2013-05-06 18:17:32 -0500

JakeWarner gravatar image

updated 2013-05-07 16:44:00 -0500

smaffulli gravatar image

I wrote an installation script for OpenStack Grizzly on Ubuntu 13.04. Occasionally when I run this script, I'll get the error "Unable to authenticate to any available projects." when logging into Horizon even though the script may have worked perfectly the previous time. Does anyone have any suggestions for where to begin with this?

I know the error has to do with a lack of tokens based on the actual code: (

Thanks in advance!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-05-11 01:41:08 -0500

JakeWarner gravatar image

This was really hard to debug since it wasn't a consistent error (half the time it'd work).

The issue ended up being that I had mistakenly used the serviceid for keystone as the serviceid for EC2 too. I guess it worked sometimes because MySQL may have returned one row rather than the other on random occasions. Either way, moving EC2 to its own service_id solved the issue.

edit flag offensive delete link more

answered 2013-05-08 04:07:33 -0500

jpichon gravatar image

Two things I can think of checking:

  • Is the user you authenticate with associated with any projects (tenants)?
  • Is the user associated with any role?

Either could cause this issue when logging in. When this happens, can you still authenticate and use the command-line clients with the same user?

edit flag offensive delete link more


I have verified both points that you mentioned. I've also verified that I can login to services via CLI -- just not the dashboard.

JakeWarner gravatar imageJakeWarner ( 2013-05-10 20:12:52 -0500 )edit

@Jake, probably you can check the network connection for your server. I have faced this issue with my devstack when my devstack vm was out of network and I had used IP everywhere in the configuration. As soon as I got the machine in network i got rid of this issue.

coolsvap gravatar imagecoolsvap ( 2013-06-22 03:27:28 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-05-06 18:17:32 -0500

Seen: 1,541 times

Last updated: May 11 '13