Invalid OpenStack Identity credentials

asked 2015-02-11 10:33:55 -0600

rohit gravatar image

updated 2015-02-12 06:55:30 -0600

I am following the guide given in this link (

First time when I followed the steps given in the guid, I was able to create users, tenants and all the verify steps given in the document worked for me. I went on to install glance and I faced some problems. So, I went through a couple of forums and they asked me to run this command

keystone --os-tenant-name service --os-username admin --os-password KEY_PASS --os-auth-url http://localhost:35357/v2.0 user-list

This one worked for me before. However, it was not working after I installed glance ( The problem in glance was I was getting HTTPInternalServerError (HTTP 500) error. I did unset http_proxy and that is when the issue started)

I have tried the methods given in the following links ( (I changed the port to 5000 as mentioned in the above link but it did not work) ( (I deleted the token and user, this too did not work)

The error log is present at this link

I tried this command following the solution given in one of the forums

keystone --os-username=admin --os-password=ADMIN_PASS --os-auth-url=http://localhost:35357/v2.0 token-get

I get the error saying 'NoneType' object has no attribute 'has_service_catalog' Can someone help me resolve this issue?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-02-11 20:43:50 -0600

rohit gravatar image

updated 2015-02-11 20:47:51 -0600

log of the first command is I have the following environment variables OS_TENANT_NAME = admin OS_USER_NAME = admin OS_AUTH_URL=http://localhost:5000/v2.0 and OS_PASSWORD if I try with OS_TENANT_NAME = service I get tenant admin did not work

edit flag offensive delete link more

answered 2015-02-11 19:59:58 -0600

larsks gravatar image

I get the error saying 'NoneType' object has no attribute 'has_service_catalog' Can someone help me resolve this issue?

That error often occurs if you authenticate to Keystone without provide any tenant information. E.g., if you were to add --tenant-name admin to your command line that error would probably go away.

Beyond that, it's not clear to me exactly what is not working. It would help if you could update your question to show:

  • The specific command or commands that are failing,
  • Any log messages that show up in the appropriate server logs at the time the commands fail
edit flag offensive delete link more


Can you have a look at this question?

rohit gravatar imagerohit ( 2015-02-22 20:30:37 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-02-11 10:06:23 -0600

Seen: 1,834 times

Last updated: Feb 12 '15