5 Commits

Author SHA1 Message Date
Jenkins
8649e298e9 Merge "Port in the argument scrubbing from OCC" 2015-08-24 18:33:33 +00:00
TerryHowe
6be3ae70cd Clean up exception messages
In https://review.openstack.org/#/c/212670/ there was some
discussion about cleaning up these exception messages.  Here
it is.

Change-Id: I6bf1d7351f5fd90451f6d0d7c7e2575e584cbc62
2015-08-18 12:18:03 -06:00
Monty Taylor
2a80dc5f10 Port in the argument scrubbing from OCC
Processing a parameter dict and extracting the declared parameters for
the given auth plugin is clearly in the problem domain of keystoneauth.
It's also just simple data transformations. Move it here.

Change-Id: I6da32fee4061ab31207cb06503ec78bb45629fb2
2015-08-17 15:57:05 +00:00
TerryHowe
c7f60421a0 Use human readable exception messages
Currently, the exceptions are nothing if converted to strings.
The doc strings are human reable and useful to users, so use them.
Before:

    $ python examples/connection.py
    ERROR: Exception raised:
    $

After:

    $ python examples/connection.py
    ERROR: Exception raised: Could not find requested endpoint in Service Catalog.
    $

Change-Id: I1300e411c93bdfb17975e4f61e925b5b6474434c
2015-08-13 11:24:33 -06:00
Morgan Fainberg
a0000e4e9a Move to the keystoneauth1 namespace
Conver from the keystoneauth namespace to keystoneauth1. This is to
ensure that is is possible to install all versions of keystoneauth
side-by-side.

Change-Id: Ibbaf11525980c8edb5968d8b8ee19c55094e77d8
2015-06-25 16:48:54 -07:00