Ask Your Question
1

"Unable to authenticate to any available projects."

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

JakeWarner gravatar image

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

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: http://django-openstack-auth.readthedocs.org/en/latest/_modules/openstack_auth/backend.html (http://django-openstack-auth.readthedocs.org/en/latest/modules/openstackauth/backend.html)

Thanks in advance!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

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

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
0

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

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

Comments

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 -0600 )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 -0600 )edit

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: 2013-05-06 18:17:32 -0600

Seen: 1,451 times

Last updated: May 11 '13