Adjust Python 2.6 OSerror-on-EPIPE workaround

Adjust the code to raise exceptions.CertificateConfigError
when the certificates are still missing even in the Python
2.6 subprocess bug-workaround case.

Change-Id: I9fdfa830e6f9bc9e8eab496da2597e4118577ec5
Closes-Bug: #1324921
Add OAuth data to AccessInfo

Allow access to the access_token_id and the consumer_id that are set as
part of the Oauth authentication process.

This only makes sense for V3 tokens, as Oauth cannot be used with v2.

Change-Id: I9ac76f92acdfd6446a13f535b24e0a99f02f2eef
Keystoneclient create user API should have optional password.

Password is optional in Keystone service. The create user API
in keystoneclient should have password None as default value.

Change-Id: Ic72867c9b86ca65e3237786e35bcb5bd44f5f053
Closes-Bug: #1273988
Merge "Adjust Python 2.6 OSerror-on-EPIPE workaround"
Session loading from conf

Allow loading session objects from oslo.config. We want a generic way to
do this for auth_token middleware and for servers creating session
objects for inter-service communication.

DocImpact: This is the first step in standardizing all the config
options across projects. There are no changes to the config options that
keystoneclient actually consumes in this review.

Implements: blueprint standard-client-params
Change-Id: I1e83280b2f76f16041ed8d5ed598db70210112bd
Session loading from CLI options

We will want this to standardize session loading amongst the various
CLIs.

Implements: blueprint standard-client-params
Change-Id: Icc740db6d471a0953b7946e00e6317802b6d2255
Add a fixture for Keystone version discovery

As we push out the session and expect people to test with proper URL
responses we should provide a means to create a correct Keystone version
list to test with.

Change-Id: I8309ab6cbc47ad159f3c6e018b60ff8c15c6d917
Modify oauth calls to expect urlencoded responses

Previously, the server side would send jsonwrapped urlencoded
responses. Now we are removing the jsonwrapped portion so that
the responses for oauth calls are just urlencoded.

Related-Bug: #1336910
Change-Id: I0431a581a5c3fca38e22751ef9bde034f0a89a30
Add CONTRIBUTING.rst

There is no CONTRIBUTING.rst file, so the patch add it.

Change-Id: I3f347d3dd55d3d3d995a6d49f320c03435776321
endpoint_id and service_id should be random uuid

Change-Id: Ib113b63fc4de76d0372bcf210ef6ca33e66cabfd
Merge "Modify oauth calls to expect urlencoded responses"
Add V2 user roles tests

The cross over between the user manager and the role manager is not
tested. As this will be changed soon re-enforce the current behaviour.

Change-Id: I3f8d8215a10cf09cfaad57ffa359f36d0417fb31
Add profiling support to keystoneclient

To be able to create profiling traces for Keystone, client should be
able to send special HTTP header that contains trace info.
This patch is as well important to be able to make cross project
traces. (Typical case nova calls keystone via python client, if
profiler is initialized in nova, keystone client will add extra
header, that will be parsed by special osprofiler middleware in keystone
api)

Don't worry no security issue here, trace information is signed by HMAC
key that is setted in api-paste.ini. So only person that knows HMAC key
is able to send proper header.

Change-Id: Ide6fe268613bb0cc9d9ec6fae2957cc570e9f851
Merge "Add profiling support to keystoneclient"
Merge "endpoint_id and service_id should be random uuid"
Merge "Keystoneclient create user API should have optional password."
Merge "Add CONTRIBUTING.rst"
Merge "Add V2 user roles tests"
Merge "Add OAuth data to AccessInfo"
Add tests without optional create endpoint params

Follow up tests for change #102602

With internalurl and adminurl now being optional parameters
there needs to be tests to ensure calls to create() without
default values, or with default values set to None are
handled as expected.


Change-Id: I2cd542a15a54017beb9430a429fb4be86130a15c