yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #26980
[Bug 1411625] Re: Keystone not throwing any exception when there is no proper OS credentails.
** Project changed: keystone => python-keystoneclient
** Description changed:
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 command it outputs proper error message. So similarly even keystone
- should throw appropriate error message when any of the environment
- variable is missing.
+ 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:~#
** Summary changed:
- 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.
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1411625
Title:
Keystone client (command line) not throwing any exception when there
is no proper OS credentails.
Status in Python client library for Keystone:
New
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:~#
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-keystoneclient/+bug/1411625/+subscriptions
References