Don't skip tests for some bugs

Skipping tests for a bug is a bad idea since if the bug is fixed
it's a manual process to find the affected test rather than being
found automatically by the tests.

Change-Id: I8109459bc825c5dc042e386432cb3496871f9862
Correctly normalize consumer fields on update

The self._normalize_dict() function in ConsumerCrudV3 creates a
copy of the consumer passed in and doesn't modify it, so this
line of code didn't do anything. The code is changed to use the
result as the new consumer rather than discarding it.

Closes-Bug: #1276857
Change-Id: Iec7573001ad73f0dc9192a4e74b1c35adc2cda4c
Cleanup oauth tests

In a lot of places this code was using dict.get() where [] makes
more sense because the code then assumes that the field was
present and had a value. Using .get() just means that if the code
changes the error would be an unexpected TypeError on a different
line than where the problem actually was.

Also, building of simple url strings was simplified to remove the
dict so that they could be kept on a single line.

Change-Id: I98b5631e02fe1456f0f583c4ec55c9ac0f8c4c35
Make live LDAP user DN match the default from devstack

The default LDAP user DN in devstack uses the "cn" attribute in
the RDN.  The live LDAP test default configuration is supposed to
match the default devstack config, but the RDN is incorrectly
using the "dc" attribute.  This patch corrects the live LDAP
default config to match devstack.

Change-Id: Iee49606526047105b4e60142af32b4ec81a19444
Closes-Bug: 1280509
Correct `find_migrate_repo` usage

The `find_migrate_repo` function was never used with an argument although the
function interface presupposes an optional argument named
`package`.

$ grep -r "find_migrate_repo" keystone

    keystone/common/sql/migration.py: repo_path = find_migrate_repo()
    keystone/common/sql/migration.py: repo_path = find_migrate_repo()
    keystone/common/sql/migration.py: repo_path = find_migrate_repo()

The wrong function usage makes the function redundant (only one
string is needed there, all others are never executed) and forces redundant
code lines in other modules.
Database migration functions must take an extension module object and handle
a migration repository path with `find_migrate_repo` function.

::db_sync: [version, [package]]
::db_version: [package]
::db_version_control: [version, [package]]

`find_migrate_repo` raises an error when the migrate repository path doesn't
exist. The error should be handled to prevent further unexpected behaviour.

Closes-Bug: #1273336
Change-Id: Id62a1859a7e72139d25dfe91d29805660b4b7394
Merge "Make live LDAP user DN match the default from devstack"
Merge "Don't skip tests for some bugs"
Setup code for auto-config sample generation

Sync in the oslo code for auto-config sample generation and
make the appropriate changes to setup to allow for automatic
option discovery.

`test-requirements.txt` now includes stevedore to
ensure the oslo libraries can all be loaded as expected.

Change-Id: Ieca0aea4d3c67b930c12467317d2f4d83763b601
Cleanup Dogpile KVS Memcache backend support

General cleanup of the Dogpile KVS Memcache backends to be simpler
names and remove the 'dogpile_' prefix for the memcache_driver
argument utilized by the memcached backend pivot point. Documentation
updated to match KVS memcached changes.

DocImpact

Change-Id: Ieb368d440e48111d844c6e715ed17dd54ca50802
bp: dogpile-kvs-backends
Merge "Correct `find_migrate_repo` usage"
Merge "Correctly normalize consumer fields on update"
Merge "Cleanup oauth tests"
`find_migrate_repo` improvement

* Added `repo_name` attribute with default value as `migrate_repo`. Allow
flexibly look for migrate repos with different names.
* Abridged logic of dependency from a module location.
* Moved to `common.utils`. Required to synchronize with
`openstack.common.db.sqlalchemy.migration`

Change-Id: I8aa364f1654fb92fba287cd406670b03f8ec3a54
Additional notifications for revocations

OAuth and assignment notifications that will
trigger revocation events.

Change-Id: Ice91de6345df3d9f3e13dd7c032993669ca9d0af
Implements: bp revocation-events
Merge "Additional notifications for revocations"
Merge "Setup code for auto-config sample generation"
Merge "Cleanup Dogpile KVS Memcache backend support"
Merge "`find_migrate_repo` improvement"