Use oslo.sphinx and remove local copy of doc theme

Use the new oslo.sphinx version of the OpenStack doc
theme instead of copying it into this repo.

blueprint oslo.sphinx

Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Change-Id: I0bd91f7bb43f97b99051fed65b75fc05d5149cc8
Regenerate example PKI after change of defaults

In https://review.openstack.org/#/c/31374/ the PKI defaults
were changed but the example PKI not updated. Update it now.

Change-Id: Ie65f27ab586e05a3c43a589499c115b56e734e07
python3: Introduce py33 to tox.ini

Introduce py33 to tox.ini to make testing with
python3 easier.

Change-Id: I9865a244281def963ab425537f5400f883054319
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Clear cached engine when global engine changes

The keystone.common.sql.core.Base class cached the global database
engine when get_session() was called. When the global database engine
changed to a new instance, the cached copy was used in subsequent
calls to get_session(), leading to using the old engine and tests
failing to run by themselves.

This change makes it so that when the global database engine is
changed, Base will use the new engine rather than the invalid one.

Change-Id: I75aa3c230d9b4fd666ab8d478c9e9a27669905e8
Fixes: Bug #1179259
grammar fixes in error messages

Change-Id: Ie00e2e9040b6f71eff573b6f7d8dc12bd87b7c52
Return correct link for effective group roles in GET /role_assignments

The assignment link returned for roles that are included by virtue of
group membership should refer to the group assignment that led to this
role, rather than a direct user assignment.

Fixes bug 1201374

Change-Id: Ic649e7eb4633e258264f27280d938a08af380921
update requires to prevent version cap

OpenStack clients requirements should not have an upper bound
as that has implications for testing in the gate.

ref: https://github.com/openstack/requirements

fixes bug #1200214
Change-Id: I45c8e94ede892a4d5412ac43aae9c4e131907c89
Merge "grammar fixes in error messages"
Merge "update requires to prevent version cap"
sql.Driver:authenticate() signatures should match

A method called authenticate_user was renamed in
identity.backends.sql.Driver from authenticate_user
to authenticate but the base class wasn't updated.

Also, the user_id and password arguments to authenticate
should NOT be optional.

Change-Id: Ie6eb42f060e368ec99d5d8241a404cf7c70d48ae
Support token_format for backward compatibility

The provider property in the [token] section will be unset by default. If
provider is not set, we will use token_format in the [signing] section to
determine to provider. If provider is set, it must agree with the token_format.

fixed bug 1202651

Change-Id: I15ff67490acbbacc9eefc7eee253400475704b04
Deprecation warning for [signing] token_format

This also adds i18n to a few related strings and updates doc.

Change-Id: Icba582a085939f58581fa909b63a36cbad3b4e69
Add [assignment].driver to sample config

There's a new config option [assignment].driver that wasn't included
in the sample config file. This makes it more difficult than necessary
for deployers to configure.

Fixes bug 1202778

Change-Id: I04b09c214b9ea997d8f540a72978ce9b19b4138d
Merge "python3: Introduce py33 to tox.ini"
Load app before loading legacy client in tests.

When you load an old version of keystoneclient doing legacy tests and
then start the test app the ec2 work that depends on keystoneclient sees
the recently loaded legacy one which doesn't have the required modules
in it.

If we load the app first the ec2 modules are resolved and finds the
original keystone client. The ec2 module then uses
'from keystoneclient.contrib.ec2 import utils as ec2_utils' so the
ec2_utils reference is kept in the file scope so isn't affected by the
tests changing keystoneclient.

It is not a long term fix for bug 1178532 but it solves the immediate
symptoms when running client tests independently.

Change-Id: I7267ca0d4740f037884fae95f8a6562ee86584b9
Remove an enumerate call

Refactor tests/test_backend.py, remove a useless enumerate call in
for loop.

Change-Id: I5d1914ae3490f715437711d594ec903a2c6632f5
Correct Spelling Mistake

Modified one spelling mistake in tests/test_middleware

Change-Id: I4beffa77c38321a44b44d1893d2335319c23b5a5
Merge "Regenerate example PKI after change of defaults"
Merge "Return correct link for effective group roles in GET /role_assignments"
Merge "Deprecation warning for [signing] token_format"