Ask Your Question
0

Invalid user name or password

asked 2016-08-13 00:51:09 -0500

binoy.mv gravatar image

updated 2016-08-13 01:46:20 -0500

Hi I am getting following error while trying to login through the horizon.

"Invalid user name or password."

My details are follows Openstack version = openstack 2.3.0 Following the url: http://docs.openstack.org/mitaka/install-guide-ubuntu/keystone.html (http://docs.openstack.org/mitaka/inst...)

export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=admin
export OS_AUTH_URL=http://192.168.122.11:5000/v2.0
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
export OS_REGION_NAME=RegionOne       
export OS_TENANT_NAME=admin

Tried with http://192.168.122.11:5000/v3 also. But failed again.

root@controller:~/openstack# keystone user-list
/usr/lib/python2.7/dist-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient.
  'python-keystoneclient.', DeprecationWarning)
WARNING: unsupported identity-api-version 3, falling back to 2.0
/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead
  super(Client, self).__init__(**kwargs)
/usr/lib/python2.7/dist-packages/debtcollector/renames.py:45: DeprecationWarning: Using the 'tenant_id' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead
  return f(*args, **kwargs)
/usr/lib/python2.7/dist-packages/keystoneclient/httpclient.py:371: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release.
  'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/dist-packages/keystoneclient/session.py:140: DeprecationWarning: keystoneclient.session.Session is deprecated as of the 2.1.0 release in favor of keystoneauth1.session.Session. It will be removed in future releases.
  DeprecationWarning)
/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py:56: DeprecationWarning: keystoneclient auth plugins are deprecated as of the 2.1.0 release in favor of keystoneauth1 plugins. They will be removed in future releases.
  'in future releases.', DeprecationWarning)
The request you have made requires authentication. (HTTP 401) (Request-ID: req-871ed4d8-ae03-42a8-914c-af2a317c8f55)



root@controller:~/openstack# dpkg --list | grep keystone
ii  keystone                            2:9.0.2-0ubuntu1~cloud0               all          OpenStack identity service - Daemons
ii  python-keystone                     2:9.0.2-0ubuntu1~cloud0               all          OpenStack identity service - Python library
ii  python-keystoneauth1                2.4.1-1ubuntu0.16.04.1~cloud0         all          authentication library for OpenStack Identity - Python 2.7
ii  python-keystoneclient               1:2.3.1-2~cloud0                      all          client library for the OpenStack Keystone API - Python 2.x
ii  python-keystonemiddleware           4.4.1-0ubuntu1~cloud0                 all          Middleware for OpenStack Identity (Keystone) - Python 2.x
edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2016-08-13 03:31:49 -0500

Hamzoz gravatar image

I think because you use the identity api version 3 and he not supported :

WARNING: unsupported identity-api-version 3, falling back to 2.0

export OS_IDENTITY_API_VERSION=3 => export OS_IDENTITY_API_VERSION=2

edit flag offensive delete link more
0

answered 2016-08-13 01:05:54 -0500

nitesh gravatar image

u can update ur password through following commands

$ export OS_SERVICE_TOKEN=$servicetoken(/etc/keystone/keystone.conf) $ export OS_SERVICE_ENDPOINT=$http://ipoftheserver/v2.0 then use this syntax to change the password

$ keystone user-password-update --pass <password> <user id="">

edit flag offensive delete link more

Comments

please enable and start openstack-keystone.service.

mohib gravatar imagemohib ( 2016-08-15 01:33:11 -0500 )edit
0

answered 2016-08-13 17:48:30 -0500

Use the openstackclient for all CLI commands. the "keystone" CLI has been removed.

openstack project list

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

Stats

Asked: 2016-08-13 00:51:09 -0500

Seen: 286 times

Last updated: Aug 13 '16