The original IP is useful in cases where keystoneclient is used by a
different openstack component and we need to know who made the original
request. Otherwise it gets overwritten by e.g. Dashboard's host's IP.
bug 1046837
Change-Id: Ic22c565e92010afd89c8573c375919215b70d73d
This patch moves the json.loads(body) call in the
HTTP response handling to after the check for non-
200-300 return codes. This gets rid of the
ValueError exception raise when you hit, for instance,
a 400 or 404.
Also changes a number of logger.exception() calls to
logger.debug() calls, since some exceptions are expected
and should not be logged as exceptions per-se.
fixes LP bug#1067512
Change-Id: If66fb1846ddc19da5bc2f15c6e0dd09019a56932
Allows to ignore validation errors that typically occur with self-signed
SSL certificates. Making this explicit is important as one would
typically only use this in development or in-house deployments.
This should also fix bug 1012591.
Change-Id: I1210fafc9257648c902176fbcfae9d47e47fc557
2-way SSL. See also https://review.openstack.org/#/c/7706/ for the
corresponding review for the 2-way SSL addition to Keystone.
Change-Id: If0cb46a43d663687396d93604a7139d85a4e7114
* allows skipping of service catalog
* removes odd logic about password equivalence
* also removes extra call to authenticate
Change-Id: I5c0979107da99593b4ce8eb16c9695ba530da095
Remove os_ from internal variable names corresponding to OS_ env
variables.
Strip trailing '/' from --auth_url since server doesn't seem to
tolerate '//' in the URL path.
Fixes lp923920
Change-Id: I3e48441d63b6504fd088aa07241f66d63590d935