Ask Your Question
1

Keystone: invalid Openstack Identity credentials

asked 2015-03-30 03:34:53 -0500

DBP gravatar image

updated 2016-01-25 02:29:57 -0500

Bipin gravatar image

Hi all, I installed keystone by following the steps in the official documentation (http://docs.openstack.org/juno/install-guide/install/apt/content/keystone-install.html ), but when i try to create an admin tenant following the documentation steps (http://docs.openstack.org/juno/install-guide/install/apt/content/keystone-users.html), i get this message: " Invalid OpenStack Identity credentials ". What can be the issue ?

edit retag flag offensive close merge delete

Comments

are you using the keystone cli and are you scoped as the admin. If you are using the cli can you provide the output for 'env | grep OS'

omar-munoz gravatar imageomar-munoz ( 2015-03-30 13:25:10 -0500 )edit

Hi, I am facing the same issue, i am using openstack juno on ubuntu and the output of the env | grep OS

OS_SERVICE_TOKEN=ADMIN
OS_SERVICE_ENDPOINT=https://15.154.119.227:35357/v2.0/
OS_PASSWORD=admin*help
OS_AUTH_URL=https://15.154.119.227:5000/v2.0/
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_CACERT
sunilkms123 gravatar imagesunilkms123 ( 2015-04-24 04:20:51 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2016-01-27 08:58:05 -0500

jckreddy gravatar image

Always there is errors during installation of keystone here in i want to give some tips to avoid as i have faced this issue many a times initially we use OS_TOKEN OS_URL for authentication purpose and the file /usr/share/keystone/keystone-dist-paste.ini will have admin_token_auth from the [pipeline:public_api], [pipeline:admin_api], and [pipeline:api_v3] sections.

Once we " unset OS_TOKEN OS_URL "' and start using admin/demo script for authentication we need to change the file as mentioned below Edit the /usr/share/keystone/keystone-dist-paste.ini file and remove admin_token_auth from the [pipeline:public_api], [pipeline:admin_api], and [pipeline:api_v3] sections.

so always if you follow the sequence then there will be no errors . If we are not changing the file but variables you may get invalid credential errors.

edit flag offensive delete link more
0

answered 2016-01-24 18:49:22 -0500

rubaljabbal gravatar image

I have faced this issue recently and I had tried exporting the service token and endpoint, as mentioned on many sites. I had checked my admin token in the keystone.conf file. Nothing seemed to have worked until you restart keystone for it to save the changes you have done until now.

o try: restart keystone

edit flag offensive delete link more

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: 2015-03-30 03:34:53 -0500

Seen: 1,440 times

Last updated: Jan 25 '16