Authentication credentials are being ignored

asked 2013-05-17 10:02:20 -0600

henrik16 gravatar image

updated 2013-06-07 17:18:17 -0600

smaffulli gravatar image

Hi guys.. I am trying to troubleshoot the problem with nova services so I am doing all the configurations again an I notice that when I run the keystone script I recieve this warning:

WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored)

Anyone knows what I am doing wrong? My openrc file:

export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_AUTH_URL="http://localhost:5000/v2.0/"
export SERVICE_ENDPOINT="http://localhost:35357/v2.0"
export SERVICE_TOKEN=password
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-05-17 11:27:42 -0600

jfrodriguez gravatar image

updated 2013-05-21 06:00:11 -0600


This warning message indicates Keystone is using admin_token based authentication instead user/passwd one. You can use any of these two methods (but not both at same time):

1) admin_token based method (for admin tasks)

export OS_SERVICE_TOKEN = your-admin-token

2) user/passwd based method (for user authentication and authorization)

export OS_AUTH_URL = http://YOUR-KEYSTONE-SERVER:5000/v2.0
export OS_USERNAME = username
export OS_PASSWORD = user-passwd   
export OS_TENANT_NAME = user-tenant
export OS_REGION_NAME = user-region

Regards, JuanFra.

edit flag offensive delete link more


You mean, change " admintoken = password " by " admintoken = http://localhost:35357/v2.0 " in keystone.conf file ? And where I change the user/passwd? I'm sorry for being so... -.-

henrik16 gravatar imagehenrik16 ( 2013-05-20 03:33:03 -0600 )edit

Sorry, maybe I didn't explain it clearly. I just edited my previous answer.

jfrodriguez gravatar imagejfrodriguez ( 2013-05-21 05:20:38 -0600 )edit

Thanks JuanFra, but it is not the same or like mine ? Sorry :s

henrik16 gravatar imagehenrik16 ( 2013-05-21 05:29:09 -0600 )edit

You can use one of the two methods, but not both at same time. If you export all variables (both admin-token as user/passwd method), Keystone will show the warning message, ignoring user/pass based method and it will use admin_token instead.

jfrodriguez gravatar imagejfrodriguez ( 2013-05-21 05:58:57 -0600 )edit

So this is OK? If keystone used admin_token method (admin tasks right?) I don't need to go back and do it again to change that ? Thanks!

henrik16 gravatar imagehenrik16 ( 2013-05-21 06:03:01 -0600 )edit

answered 2013-05-24 14:40:44 -0600

sudhir gravatar image

I am getting same error, can someone please help ?

root@ubuntu150:~# keystone --debug user-list WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). REQ: curl -i -X GET -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: admin" [Errno 111] Connection refused root@ubuntu150:~#

edit flag offensive delete link more



Hi sudhir, I suggest you to ask another question if you can't find a solution here .

henrik16 gravatar imagehenrik16 ( 2013-05-28 09:34:13 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-05-17 10:02:20 -0600

Seen: 6,269 times

Last updated: May 24 '13