Keystone client (command line) not throwing any exception when there is no proper OS credentails.
Bug #1411625 reported by
Ashish Singh
This bug report is a duplicate of:
Bug #1068168: Token without tenant - An unexpected error prevented the server from fulfilling your request. 'NoneType' object has no attribute 'get' .
Edit
Remove
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. |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/148305
Review: https:/