Set wsgi startup log level to INFO

Sets wsgi startup log to INFO so that it is
still visible when log level is raised above
DEBUG.

Co-authored-by: Kanami Akama <k-akama@intellilink.co.jp>
Fixes: bug #1208778

Change-Id: I977f4ac6fc5e11710922dc607d5ce23a0cc74237
Make pki_setup work with OpenSSL 0.9.x

Support for "default" in default_md was only added
in "recent" OpenSSL versions. Use sha1 (which is what
"default" maps to anyway) for older openssl versions.

Also sync the generated openssl config file with
the defaults from OpenSSL 1.0 and newer.

Fixes: LP Bug #1209249
Change-Id: I4ba79dbfdfc2df81cfb0f1edde23d3fbc1384637
Add memcache to httpd doc.

Bug 1170455

Change-Id: Id2fc4f14d0c880160c2b6ef6c9922e23fb1cb8a6
Sync models with migrations

This patch syncs models with migrations for:

-Endpoint
-CredentialModel
-TokenModel
-TrustModel

No actual schema change is taking place, this patch just corrects errors
in the model definitions.

Made class Index avaliable in keystone.common.sql.core

partially implements bp db-sync-models-with-migrations

Change-Id: I52f5c455360b65a2d5d884bbbec078dca6d34451
Drop extra credential indexes

For mysql ForeignKey constraints were removed but the fields stayed as indexes.
This migration drops them.

bp db-sync-models-with-migrations

Change-Id: I3baeac4047cd65ac5d7733ba909c45d0874f17d8
update usage in run_test.sh for flake8

Update usage info for pep8 options

Fixes bug #1210049

Change-Id: I8895550f204bd8b37d3c035221b7554761debf85
Ignore flake issues in build/ directory

Change-Id: I812333d62ed08c97b83626c3b309f5614d51582d
Merge "Sync models with migrations"
Move Babel dependency from test-req to req

Recent changes added an undeclared dependency on babel in
keystone.openstack.common.gettextutils.

Change-Id: I045195e056c555a293371b50cfc3d7ec0c110ba7
Fixes: bug #1211270
Merge "Drop extra credential indexes"
Merge "Make pki_setup work with OpenSSL 0.9.x"
Merge "Add memcache to httpd doc."
Merge "Move Babel dependency from test-req to req"
Sync notifier module from Oslo

Pull in the common notifier from Oslo-incubator into Keystone. This only
introduces the notifier module and it's dependencies. This change is
standalone and doesn't contain any code to implementation notifications,
just the initial sync.

blueprint notifications

Change-Id: If62d6012a92e944f3196dd20e6cdd3236e7ecae2
Initial implementation of unified-logging

This is the base implementation of a unified logging solution for
Keystone from Oslo-incubator. More work is still needed to refactor the
rest of Keystone such that it is completely dependent on the
implementation from Oslo and not the older keystone/common/logging.py
implementation, this is also noted in keystone/common/config.py.

blueprint unified-logging-in-keystone

Change-Id: I711cbac8edd887c52114fb13327e37124ea86737
Merge "Sync notifier module from Oslo"
Move 'tests' directory into 'keystone' package

Similar to a range of other components (e.g. glance,nova,...) and recent
reviews by Monty.

Running individual tests can be done like this:

./run_tests.sh keystone.tests.test_drivers

Change-Id: I2482a48322150e5eb09b703326a94d8283f1c75b
Assignment to reserved built-in symbol: dir

In file keystone/common/openssl.py,
BaseCertificateConfigure::_make_dirs(), built-in symbol dir was
re-assignment as local vars, it is easily lead to a misunderstanding, so
rename them.
This patch do not modify any functionality.

Change-Id: I70d6bdc9362577b46b3500de49603f296b6b72e1
Remove unused import

In file: keystone/contrib/access/core.py, webob module was never used
after imported in the module, removing it make codes more clean.

Change-Id: I00725e3408c743489693bf6de66254c790dddb24
Add support for API message localization

Add support for doing language resolution for a request, based on the
Accept-Language HTTP header.

Using the lazy gettext functionality from oslo gettextutils, it is
possible to use the resolved language to translate an exception message
to the user requested language and return that translation from the API.

Co-authored-by: Luis A. Garcia <luis@linux.vnet.ibm.com>
Co-authored-by: Mathew Odden <mrodden@us.ibm.com>

Implements bp user-locale-api

Change-Id: Id8e92a42039d2f0b01d5c2dada733d068b2bdfeb