Keystone client (command line) not throwing any exception when there is no proper OS credentails.

Bug #1411625 reported by Ashish Singh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
In Progress
Undecided
Cyril Roelandt

Bug Description

When we miss any of the environment variable, Keystone commands do not throw any error, it just simply output nothing. But when when we run nova client command it outputs proper error message. So similarly even keystone client should throw appropriate error message when any of the environment variable is missing.

Steps to reproduce.

root@ubuntu:~# unset OS_TENANT_NAME
root@ubuntu:~# keystone user-list

root@ubuntu:~# nova list
ERROR (CommandError): You must provide a tenant name or tenant id via --os-tenant-name, --os-tenant-id, env[OS_TENANT_NAME] or env[OS_TENANT_ID]
root@ubuntu:~#

affects: keystone → python-keystoneclient
description: updated
summary: - Keystone not throwing any exception when there is no proper OS
- credentails.
+ Keystone client (command line) not throwing any exception when there is
+ no proper OS credentails.
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/148305

Changed in python-keystoneclient:
assignee: nobody → Cyril Roelandt (cyril-roelandt)
status: New → In Progress
Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

Brant Knduson said (https://review.openstack.org/#/c/148305/): "The keystone CLI is deprecated and the only fixes we're taking for it are security bugs. Make the fix to the openstack CLI if it's a problem there. If not, use the openstack CLI instead."

So this will not be fixed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-keystoneclient (master)

Change abandoned by Cyril Roelandt (<email address hidden>) on branch: master
Review: https://review.openstack.org/148305
Reason: WONTFIX

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.