Allow for not running pep8.

Its not always wanted to run pep8 so we should have
a flag that can be used to disable it so that people
who do not want to run it can accomplish this.

Fixes: bug 1080907

Change-Id: I7f9dedbc7eca8421e0acf58e478c105f8b8de0c9
Add an image proxy to handle stored image data

When you delete an image, it should delete (or submit a delayed delete
for) the data in the store.

Part of implementing bp:glance-domain-logic-layer

Change-Id: I1ef4d6915a5fed02316b6945c99599511ea0392b
Make cooperative reader always support read()

glance.common.utils.CooperativeReader provides eventlet-friendly
cooperation on top of backends that support either read() or __iter__().
However, in the case of backends that only support __iter__(), such as
images returned by store.get(...), read() is not defined. This patch
adds read() in all cases.

Fixes bug 1057322.

Change-Id: I67d9b3e4d93fbefd7eeaf7cfc947ab635fe09534
Merge "Allow for not running pep8."
Merge "Make cooperative reader always support read()"
Merge "Add an image proxy to handle stored image data"
Fix typo uudiutils -> uuidutils

Change-Id: I5e259f02a0db09ccdc45b04fdeda2d6d428ab304
Add pep8 ignore options to run_tests.sh

Updates run_tests.sh so it uses the same pep8 ignore options
we do for tox. This fixes a slew of pep8 errors that will occur
with recent pep8 releases using Glance.

Change-Id: I0a9bb237f75eb307ee433cc6b1c5f78cd71dd02e
Wrap log messages with _()

Bug 1075088

There are a few log messages without _(), but a lot messages with _().
Wrap these log messages with _() in order to make the code consistent.

Change-Id: I8f3c66c23c7e42d7b4ede11c26d5f9c96c39be73
Return size as int from store get call

The size value needs to be comparable as integers, which
a string won't give us. This returns size as an integer
from a call to the 'get' method of our known stores.

Change-Id: I08ff9c673735eeb5943745ae4a27d6e241101230
Merge "Add pep8 ignore options to run_tests.sh"
Merge "Return size as int from store get call"
Fixed Typo

use of word "container" when word "disk" was required
Fixes: bug #1082404

Change-Id: I78e784d5e721a8cf0f39c6029310d1e3587c0142
Add an image repo proxy that handles notifications

This patch hides image notifications inside the the domain layer. This
way, eventually the controller won't have to keep track of
notifications.

Part of implementing bp:glance-domain-logic-layer

Change-Id: Ie763a50ea416cae66b8015162dcdb5232a4e0a1d
Merge "Fixed Typo"
Implement get_size filesystem store method

Change-Id: Ic8bc48c432ebc771f8f4a9274e1cbe8e69c0de5c
Add store test coverage for the get_size method

This ensures the existing get_size methods return integers
rather than strings.

Change-Id: Iaad49005e68f052f3b7243fef1f56478afb1abba
Rewrite S3 functional tests

rewrite s3 store functional test coverage using new style of
direct python library calls rather than indirectly testing through
the v1 API.

Change-Id: Iab8e4034ebb0a2a7812497bdca3aa32d4a0b41bf
Fixed deleted image being downloadable by admin.

Raised NotFound exception for deleted image, so that a 404 gets
returned for download.

Fixes LP: #1081941

Change-Id: Ia82927719b6f7d20f8467eca12e8c91424e0f438
Unused variables removed

Variables api_port and registry_port were unused and hence removed.

Change-Id: I65aa64a79fcd30e61f4448ec4a24285e83273620