Merge "Remove cinder credentials command"

This commit is contained in:
Jenkins 2017-03-10 14:59:32 +00:00 committed by Gerrit Code Review
commit 2800fb0619
2 changed files with 8 additions and 7 deletions

View File

@ -966,13 +966,9 @@ def do_endpoints(cs, args):
def do_credentials(cs, args):
"""Shows user credentials returned from auth."""
catalog = cs.client.service_catalog.catalog
# formatters defines field to be converted from unicode to string
utils.print_dict(catalog['user'], "User Credentials",
formatters=['domain', 'roles'])
utils.print_dict(catalog['token'], "Token",
formatters=['audit_ids', 'tenant'])
warnings.warn(
"``cinder credentials`` is deprecated, use ``openstack token issue`` "
"indead.")
@utils.arg('tenant',

View File

@ -0,0 +1,5 @@
---
other:
- The cinder credentials command has not worked for several releases. The
preferred alternative is to us the openstack token issue command, therefore
the cinder credentials command has been removed.