add owner filter in v1 api

add owner filter for images searching in v1 api.
One can pass owner tenant id to search all images of the tenant.

Change-Id: I52e48a406fb4e853545bb405638ebd6f11d09f2a
add local timezone for image datetime

add local timezome and time format '%Y-%m-%d %H:%M:%S' for image datetime

Change-Id: I69815f81f7b1a0fd2f90bd7b723bbcc65baf270e
Merge "add owner filter in v1 api" into folsom-ntse
add chunkstore and chunk cache in folsom

1.As glance of folsom version use global CONF instead of initialize argument,
  all chunkstore and chunk cache should adapt to it;

2.Modify unit test to adapt to new version;

3.Add config sample.

Change-Id: Idd66173b825b994e7d7c4742bbd9d4c9612a55d6
add image id sha1 property

Add image id sha1 property in glance v1 api of folsom version
modify unit test to adapt to new version

Change-Id: I75ed337e9a7ef77be32414fb3b2c0b072aa91541
add judging for deleting the image which is using

1.add judging for deleting images in glance v1 api of  folsom version
2.add unit test for image delete

Change-Id: Ide995dd54ad3ea2d32ed19090187752912a3d0da
add mysql support for image cache

add mysql support for image cache
modify interface adapt to new version
modify unit test adapt to new version

Change-Id: I8fa244455e9e6cfcf18ee736c6656a79d981d18a
fix image statistic info

Setting no image statistic will log some unuseful info.

http://jira.hz.netease.com/browse/CLOUD-2707
fix commit 0ee8fcbed8d1169be0f3900b283e34a8c02f4757.

Change-Id: If2b580afd89adaad072e42273b0a454ec817db84
add filter for image statistics info

In folsom, nova may store all image meta info and
transform in rpc.It should return no statistics info in default.
Add parameter x-image-property-statistics for getting
image statistic info when request image show, detail, meta.

http://jira.hz.netease.com/browse/CLOUD-2706

Change-Id: I78c9c64f2311428916d777d09a65cc98db06ca30
fix chunk cache prune

Chunk may yet be deleted by gc or prune strategy,
judging whether is none should be at the front of getting.
It does not affect image download or other function, but causes
cache lose a chance to store.

Change-Id: I50fbd1733cf231ba2c22128aed40d0ccc6989313
Change required sqlalchemy version <=0.7.9

Change-Id: I0609fdb73fa3b5f34fce75381345bc5bd4e0fd49
Merge "fix chunk cache prune" into folsom-ntse
Unified log module for glance

* Add two kwargs initialized from req headers in middleware context
* Add two parameters unified_log_id and unified_log_seq in context
* Do output unified log in log.py ContextAdapter

Change-Id: I9cff27c2661f39f0cf5066c3d809ed914f85748c
details: http://jira.hz.netease.com/browse/CLOUD-2421
add log filter for more request information

Add log filter for getting more information of request
and response with no normal status.
Add exception log wrapper for wsig functions.In this way,
all exceptions in controllers and filters can be logged.

http://jira.hz.netease.com/browse/CLOUD-2874

Change-Id: I15fae8e3b4bdb7236c17e44723d5b5a6daedd1cf
Multiprocess respawn functional test fix

In 'test_interrupt_avoids_respawn_storm' the environment variable
'USER' was being used to determine if the glance-api processes had been
spawned correctly. This method doesn't work when running in a fakeroot
environment.  Switch to use the current UID instead which works in
both cases.

Fix for bug 1061637.

Change-Id: I79e36ef02ed2adb1c951222d105d7302f4190f84
Signed-off-by: stanzgy <stan.zgy@gmail.com>
modify location to medium text

http://jira.hz.netease.com/browse/CLOUD-2874

Change-Id: I30e3322002445bd1d52f89e5a8c1e75317aaf439
Merge "add log filter for more request information" into folsom-ntse
Merge "modify location to medium text" into folsom-ntse
Merge "Multiprocess respawn functional test fix" into folsom-ntse