diff options
| author | TerryHowe <terrylhowe@gmail.com> | 2015-04-17 07:54:05 -0600 |
|---|---|---|
| committer | TerryHowe <terrylhowe@gmail.com> | 2015-04-17 07:54:05 -0600 |
| commit | 15bc2ccec9ca9df940a548da3cd810a107f45b39 (patch) | |
| tree | 2d4eae83a28f05a93a46abb756514215f6db2aeb /python-openstackclient | |
| parent | 52c4e5fa87d4f95468301b6d5e2fc10dfbb90650 (diff) | |
| download | python-openstackclient-15bc2ccec9ca9df940a548da3cd810a107f45b39.tar.gz | |
Print warning on authentication error
At least print a warning on authentication error. I have no
idea why an exception is being ignored here because if there
is no session, nothing is going to happen. This at least will
print some useful warning:
(.venv)terry@f350:~/python-openstackclient$ os flavor list --os-cloud pro
WARNING: openstackclient.shell Possible error authenticating: __init__() got an unexpected keyword argument 'asdf'
ERROR: openstack Authentication requires 'auth_url', which should be specified in 'HTTPClient'
This error was caused by having a bogus value 'asdf' in the cloud.yaml
for the cloud pro.
Change-Id: Ie08432e0464cfa86b3b3f67ca29d3b7d23d2f46f
Diffstat (limited to 'python-openstackclient')
0 files changed, 0 insertions, 0 deletions
