Ask Your Question
0

error when keystone endpoint-list show error

asked 2016-03-17 12:05:40 -0600

genie gravatar image

updated 2016-03-17 12:11:04 -0600

[root@localhost ~]# keystone endpoint-list

[root@localhost ~]# keystone endpoint-list
/usr/lib/python2.7/site-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)
Expecting authentication method via
  either a service token, --os-token or env[OS_SERVICE_TOKEN], 
  credentials, --os-username or env[OS_USERNAME]
[root@localhost ~]# unset OS_SERVICE_TOKEN
[root@localhost ~]# export OS_USERNAME=demo
[root@localhost ~]# export OS_PASSWORD=5fd4ad2d0a7b4699
[root@localhost ~]# export PS1='[\u@\h \W(keystone_demo)]\$ '
[root@localhost ~(keystone_demo)]# export OS_AUTH_URL=http://192.168.157.131:5000/v2.0
[root@localhost ~(keystone_demo)]# 
[root@localhost ~(keystone_demo)]# keystone endpoint-list
/usr/lib/python2.7/site-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)
/usr/lib/python2.7/site-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/site-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/site-packages/debtcollector/renames.py:43: 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/site-packages/keystoneclient/httpclient.py:376: 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)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-17 23:54:44 -0600

Mohit gravatar image

Use export OS_AUTH_URL=http://192.168.157.131:35357/v2.0

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: 2016-03-17 12:05:40 -0600

Seen: 834 times

Last updated: Mar 17 '16