To prevent remote code injection on Sheepdog store

Change-Id: Iae92eaf9eb023f36a1bab7c20ea41c985f2bf51b
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Improve test/utils.py

Introduce new class into utils.py to keep glance api tests DRYer

Partially implements blueprint glance-tests-code-duplication

Change-Id: Ic77961fcc83806fd451afa1a0d230f09926ebfd9
(cherry picked from commit 91a226cb1632636a59b7f742c3158f57ce14b550)
Refactor glance/tests/unit/v2/test_registry_client.py

Remove code duplication from module

Partially implements blueprint glance-tests-code-duplication

Change-Id: Idf54d98d0982b7c64696056c87283eb92f1164b5
(cherry picked from commit 55dcb9e7b19c5901a2aa264b27276094f2a2669f)
Provide explicit image create value in Registry v2 Client test

Assign an explicit created_at datetime value to image db fixtures,
it be used to fixes race condition in Registry v2 Client test cases.

Closes-Bug: #1272136
Change-Id: Ib9f1c7072c6ac828479c6a2e5bddd0f3ad057653
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
(cherry picked from commit 8143d814f2b355b1a2a7a1bd92920641e4d0fb43)
Provide explicit image create value in Registry v2 API test

Assign an explicit created_at datetime value to image db fixtures,
it be used to fixes race condition in Registry v2 API test cases.

Closes-Bug: #1279753
Change-Id: Ia1957e8c024f81eeaa3c0bc094dd62db1be52d07
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
(cherry picked from commit 31bcc97214358482e9ccc035189ef70ced1afc21)
Provide explicit image create value for test_image_paginate case

Assign an explicit created_at datetime value to image db fixtures,
it be used to fixes race condition in DB driver test_image_paginate
case.

Conflicts:
	glance/tests/functional/db/base.py

Closes-Bug: #1282400
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
(cherry picked from commit 1c5797d53a53a990cef3d695f0752742fd213840)

Change-Id: I359633af4bb25cf1866b42d6dad3df658995b7bd
Bump stable/havana next version to 2013.2.4

Change-Id: Ia9794ec332e02346240e3d15785f0294b313f7d3
Updated from global requirements

This is an update for requirements that does not touch version pin for
swiftclient. This should fix -docs failures in havana gate.

The original patch that was modified is:
https://review.openstack.org/#/c/101753/

Change-Id: I912b6d58406b7c66732d32e4902fb1646b5dd7fe
Merge "Improve test/utils.py" into stable/havana
Merge "Refactor glance/tests/unit/v2/test_registry_client.py" into stable/havana
Merge "Provide explicit image create value in Registry v2 Client test" into stable/havana
Merge "Provide explicit image create value in Registry v2 API test" into stable/havana
Merge branch 'stable/havana' of https://github.com/openstack/glance into cis-havana-staging