← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1411625] [NEW] Keystone not throwing any exception when there is no proper OS credentails.

 

Public bug reported:

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.

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
     Importance: Undecided
         Status: New

-- 
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 not throwing any exception when there is no proper OS
  credentails.

Status in OpenStack Identity (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 command it outputs proper error message. So similarly even
  keystone 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/keystone/+bug/1411625/+subscriptions


Follow ups

References