Ask Your Question

Getting error "Invalid OpenStack Identity credentials" while trying to create a user

asked 2014-10-09 06:26:09 -0500

Kaustuv gravatar image

updated 2014-10-09 11:31:11 -0500

mpetason gravatar image

I am following the steps to install Heat service on Openstack Icehouse from this documentation -

And I am getting error in the Step 6 of the documentation.

I have also checked the following - Setting Admin Token -

[root@fedora20 ~]# ADMIN_TOKEN=$(openssl rand -hex 10)
[root@fedora20 ~]# echo $ADMIN_TOKEN
[root@fedora20 ~]# openstack-config --set /etc/keystone/keystone.conf DEFAULT \
>    admin_token $ADMIN_TOKEN

In /etc/keystone/keystone.conf file -


Checking Keystone service -

[root@fedora20 ~]# service openstack-keystone status
Redirecting to /bin/systemctl status  openstack-keystone.service
openstack-keystone.service - OpenStack Identity Service (code-named Keystone)
   Loaded: loaded (/usr/lib/systemd/system/openstack-keystone.service; enabled)
   Active: active (running) since Thu 2014-10-09 15:05:12 IST; 1h 40min ago
 Main PID: 1135 (keystone-all)
   CGroup: /system.slice/openstack-keystone.service
           +-1135 /usr/bin/python /usr/bin/keystone-all


Oct 09 14:59:26 systemd[1]: Starting OpenStack Identity Service (code-named Keystone)...
Oct 09 15:05:12 systemd[1]: Started OpenStack Identity Service (code-named Keystone).

Setting Environment variables -

[root@fedora20 ~]# export OS_SERVICE_TOKEN=ADMIN_TOKEN
[root@fedora20 ~]# export OS_SERVICE_ENDPOINT=

Trying to create a user -

[root@fedora20 ~]# keystone user-create --name=heat --pass=heat123
Invalid OpenStack Identity credentials.
edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2014-10-10 05:09:01 -0500

Kaustuv gravatar image

After setting the above mentioned Env variables, getting below errors - [root@fedora20 ~]# keystone token-get WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 'NoneType' object has no attribute 'has_service_catalog'

edit flag offensive delete link more

answered 2014-10-09 08:54:34 -0500

updated 2014-10-09 08:57:19 -0500

You have credential problem when you want to issue command to the keystone using console. Try the following envirtonment variables:

export OS_USERNAME=your_os_user
export OS_PASSWORD=your_os_pass
export OS_TENANT_NAME=admin

Verify your file configuration:

keystone token-get

Then execute the following command to test connectivity to Keystone:

keystone user-list

This link may be useful.

edit flag offensive delete link more


[root@fedora20 ~]# keystone user-list WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). Invalid OpenStack Identity credentials.

Kaustuv gravatar imageKaustuv ( 2014-10-10 05:09:15 -0500 )edit

answered 2014-10-09 11:07:54 -0500

It should have been export OS_SERVICE_TOKEN=$ADMIN_TOKEN

You are missing $

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


Asked: 2014-10-09 06:26:09 -0500

Seen: 9,419 times

Last updated: Oct 09 '14