Depending on python-swiftclient>=1.6

Now we're depending on python-swiftclient>=1.6 since the parameter
'headers' was introduced since python-swiftclient 1.6. This is a
regression issue introduced by patch:
https://review.openstack.org/#/c/48913/

get_object(container, obj, resp_chunk_size=None, query_string=None,
response_dict=None, headers=None)

Closes-Bug: #1276033

Change-Id: I174f2dc53a402d48301b17839be8b5fa97064805
glance-manage wont take version into consideration

A glance-manage db upgrade/db downgrade will do either an 'upgrade to
latest' or 'downgrade to None' even though a version argument is
provided. The version being passed isn't being picked up and None is
passed across.

Fixes bug 1258068
Change-Id: Iaab4cf5eeb6d7c9c94fc741841a6b0797a058d40
Modify my mailmap

Changing my preferred email.

Change-Id: Idbe6a77d6e007c317acb5eda354edbb0dd6e87f3
Enable H202 check

Enable H202 check: assertRaises Exception too broad.

Make changes to glance/tests/unit/test_notifier.py

Change-Id: I258367172e77312ddda06132d2e8371e8fff81e7
Remove duplicate type defination of v2 images schema

Closes-Bug: #1276011

Change-Id: I53565fcaaf9fde064fb28c63bf00a4a7a0f602eb
Updated from global requirements

Change-Id: Iad328b1d0887d3f31f3db73b7ad699bd20b6847f
Removes logging of location uri

This patch removes logging of sensitive store location uri, which
is logged when an exception occurs while trying to get the object
from the store or due to a failure in getting the store api due to
unauthorized context.

fixes bug 1275062

Change-Id: I679baa0897f242f4b8372c9c1c7ab28ae811f5e5
Merge "glance-manage wont take version into consideration"
Merge "Removes logging of location uri"
Expose image property 'owner' in v2 API

The 'owner' property on an image is exposed in v1 but does
not appear in the v2 image response. It would be useful to
have this available.

docImpact
Implement blueprint expose-owner-in-v2

Change-Id: I90f68d57e185f4a5ee63cd97bd5597948dde33ea
Merge "Depending on python-swiftclient>=1.6"
Fix misspellings in glance

Fix misspellings detected by:
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -

Change-Id: Ib65747384763fa43bcf2441669d9903181c65cc6
Closes-Bug: #1257295
Merge "Updated from global requirements"
Merge "Enable H202 check"
Enable H302 check

Enable H302 (import only modules) which passes without any changes to files.

Change-Id: Ibcc609ffad404e8d73a4828b7b18892444e7454d
Clean up DatabaseMigrationError

Exception DatabaseMigrationError from glance/common/exception.py
is unused, so we get rid of it.

Change-Id: I36f70dcc7d5b282d3c9d9e82a0c3f673d008e71e
Merge "Fix misspellings in glance"
Merge "Enable H302 check"
Merge "Clean up DatabaseMigrationError"
Switch to testrepository for running tests

OpenStack as a whole is moving towards using testrepository and
testtools for running tests. To that end, bring Glance into line by
switching it to use testrepository to run tests.

This copies run_tests.sh and tools/colorizer.py from Nova.

This change also has some minor changes to make run_test.sh work well.

Partial fixes bug: 1179009
Fixes bug: 1271806

Change-Id: Ic265bc0d2f1528358f6e8ee5b4139f991923fc72
Signed-off-by: Steve Kowalik <steven@wedontsleep.org>
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>