Ask Your Question
0

Too much warning on every CLI [closed]

asked 2015-12-16 10:50:44 -0500

Pradip gravatar image

Hello,

Whenever I am running any CLI, getting lots of such errors. How can I get rid of those?

stack@openstack2:~/devstack$ keystone service-list
/usr/local/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)
/usr/local/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/local/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/local/lib/python2.7/dist-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/local/lib/python2.7/dist-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)
+----------------------------------+----------+------------+----------------------------+
|                id                |   name   |    type    |        description         |
+----------------------------------+----------+------------+----------------------------+
| f189680a007947f7b2a0f49a1bffb6f1 | keystone |  identity  | Keystone Identity Service  |
| 475d46aca9fa4ed1867c401d00aa7257 | monasca  | monitoring | Monasca monitoring service |
+----------------------------------+----------+------------+----------------------------+

--pradip

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Pradip
close date 2015-12-16 11:22:46.485016

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-12-16 11:02:05 -0500

Hi, keystone commands are deprecated, this means that you don't need to use it. The funcionallity has been introduced in the openstack command.

openstack service list

Regards

edit flag offensive delete link more

Comments

Thanks a lot.

Pradip gravatar imagePradip ( 2015-12-16 11:21:55 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-16 10:50:44 -0500

Seen: 289 times

Last updated: Dec 16 '15