Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

HTTP 401 error for authentication token from the Identity version 2.0 API

While installing Kilo on 14.04, I am unable to get the authentication token from the Identity version 2.0 API, as mentioned in the 3rd step of these docs: http://docs.openstack.org/kilo/install-guide/install/apt/content/keystone-verify.html

controller@controller:~$ openstack --os-auth-url http://controller:35357 --os-project-name admin --os-username admin --os-auth-type password token issue.

Password: admin-password

ERROR: openstack The request you have made requires authentication. (HTTP 401) (Request-ID: req-ecffaa50-76c4-41fb-8068-784fdf882ba7)

I tried setting OS_USERNAME = admin; OS_PASSWORD = admin-password>; OS_TENANT_NAME=admin and OS_AUTH_URL=http://10.0.0.11:35357/v2. The error still persists.

Please tell me what am I doing wrong here?