Document db_auto_create in default config files

Change-Id: I933952b672254b32928762e0a4beba2b2b107810
Fix migration 015 downgrade with sqlite.

This adds a list() call around the select sqlalchemy to pull
the list of locations that start with swift. The list() call
forces the select query to finish, before we try to update the
database.

Change-Id: I63f2e184a49e8bbd7115dd59d644506ea4069558
Remove unnecessary logging from migration 019

Migration 019 included debug logging for every sqlalchemy call
that was run. This commit removes all of the logging and makes it
consistent with the other migrations.

Change-Id: I914f4f4458eacbb3bcabac092bbe166ce9069a5f
Remove compat cfg wrapper

This wrapper was there to allow oslo-config changes through the gate
while keystoneclient hadn't been updated.

Change-Id: I3d48673af58ae379e8e4d2c7fb4b4d81f3ed67dd
Merge "Document db_auto_create in default config files"
Merge "Remove compat cfg wrapper"
monkey_patch the time module for eventlet

Fixes bug 988099

Change-Id: I24dfe81863484ed07b77ab20f9d8ab7746e977df
Avoid using logging in signal handlers

Fixes bug 1029727

It is possible for logging to cause problems during signal handlers.
Fortunately, the logging we have in signal handlers is minimal and does
not add enough value to try to keep through workarounds.

Change-Id: I80708874c9740c906e5a49e0d9c1b45174470a85
Merge "Use more-specific value for X-Object-Manifest header."
Merge "Fix migration 015 downgrade with sqlite."
Merge "Remove unnecessary logging from migration 019"
Merge "Update openstack.common"
Merge "Avoid using logging in signal handlers"
Add check for image_locations table

This commit adds a check for the image_locations table to the
_assert_tables method in TestGlanceManage. When migration 018
was added in change: I1536c9276bc807aac26849e37556b465e8b5c9eb
a new image locations table was created, but didn't update the
functional tests to check that it had been created.

Change-Id: If76702f623e201505c62d05e245003e3783d8574
Pin jsonschema version below 1.0.0.

The latest jsonschema version breaks the unit tests. This commit pins
the version to be less than the latest release.

Fixes bug 1132840

Change-Id: Ib4db4782f995cee179445ca11d2b6a7f13a6b457
Fix migration 016 for sqlite.

Sqlite doesn't support dropping a column from a table. The
downgrade path for migration 016 performed this. So this commit adds the
sql file to perform the downgrade manually.

Change-Id: I6aae263c3aab03a383c47fd29c46f0cc9b857549
Refactor data migration tests

This commit adds a more general framework for testing data
transitions at any db migration. Based on the test migration
framework in nova.

This commit also updates the existing individual migration
tests to use the new framework.

Change-Id: I917cfefe266a98f6c63613ac071af2dd676d67a1
Add migration 021 set_engine_mysql_innodb

Change: I1536c9276bc807aac26849e37556b465e8b5c9eb which added
migration 018 neglected to set the mysql engine to InnoDB
when it added the image_locations table. This commit adds a
new migration to set the image_locations table to the InnoDB
engine.

Change-Id: I935065d8e1929d5df075cc5c7de81793b1dd73a1
Fix broken JSON schemas in v2 tests

* The required attribute is not allowed in draft 4 of JSON schema
* The dependency on jsonschema can be relaxed back to all versions

Change-Id: Id0767cfe2fe46d73999563896f851ffb01aa9489
Redact location from notifications

Redact the value of 'location' in notifications since it may contain
credentials.

Fix for bug 1125130.

Change-Id: Ic0baee259ac46479f8992eca2b02c307fcaf70ac