Make eventlet hub choice configurable.

Some platforms do not support the 'poll' hub.

Change-Id: Ibd6abe499c7f6fdd84f5626b7e8fcb756e45ed57
Updated documentation to include notifications introduced in Grizzly.

Change-Id: I326bb7dff3c0d047a7ed66886619e176edf08800
Pin kombu and anyjson versions

The minimum version of kombu in the requirements
list has been updated to ensure that compatible
kombu and msgpack libraries are used across all
projects. That update also requires an update
to anyjson.

Addresses bug #1134575

Change-Id: I1520af1315fe649f52ab62769164dc67f4396651
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Use python module loading to run glance-manage

Executing glance-manage in a unittest context means that we need
to install glance first, which breaks packaging workflow.

Fixes bug 1196275.

Change-Id: Idf0a332c2f2ffd3eb96d3623c32cf5383a0d9887
Merge "Updated documentation to include notifications introduced in Grizzly."
Dont raise NotFound in simple db image_tag_get_all

This patch removes the check in simple db. This is so both simple db and
sqlalchemy have the same behavior. We do not necessarily want to perform two
queries to see if the image exists so an empty list of tags is returned.

Fixes bug 1197057

Change-Id: Ibae37198b3854aa5dbe0e8a643a3d4b8608666c5
Fix 'glance-cache-manage list-cached' for xattr

The xattr driver for the caching middleware was returning it's
last_modified/last_accessed times in iso8601 format rather than a
timestamp.

This was inconsistent with the sqlite driver and caused the
glance-cache-manage command to fall over when using the xattr driver.

Fixes bug 1197360

Change-Id: Ie72dcd9f41f7a3b7405cda9fe28e1e468fcc1bef
Fix 'glance-cache-manage -h' default interpolation

Some options were showing up as %(default)s when running
"glance-cache-manage -h".

Fixes bug 1197472

Change-Id: I1c7586cbc52445e3bdca28a71378f40ecb5b07a9
Add Sheepdog store

Sheepdog is a distributed block storage. This patch enables Sheepdog cluster
as a backend store for glance.

Test:

You can set up a simulated 3 node cluster on the local machine with
following script:

 $ sudo apt-get install liburcu-dev
 $ git clone git://github.com/collie/sheepdog.git
 $ cd sheepdog
 $ ./autogen.sh; ./configure --disable-corosync
 $ make; sudo make install
 $ for i in 0 1 2; do sheep /tmp/store$i -n -c local -z $i -p 700$i;done
 $ collie cluster format

Then change the default store in glance-api.conf as sheepdog

blueprint: add-sheepdog-support

Change-Id: I99907bbfc2e131146de9dd1a39f94a73cd2585e9
Refactor unsupported default store testing

This change improves coverage while saving ~10 seconds per test run.

Part of bp:faster-better-stronger-functional-tests

Change-Id: Id4d68ccb223205f27bed0c1e9d3072b51310b979
Use oslo.sphinx and remove local copy of doc theme

Use the new oslo.sphinx version of the OpenStack doc
theme instead of copying it into this repo.

blueprint oslo.sphinx

Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Change-Id: I0bd91f7bb43f97b99051fed65b75fc05d5149cc8
Ignore files created by Sphinx build

Change-Id: I46f34d9320ce39977facff705c52d272a160220f
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Fix doc formatting issue

Fix the underline length to remove a warning from
the documentation build.

Change-Id: Icc1569cbeaa6c964d608a254095f7a778ff0c74e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Fix list formatting in docs

Fix the way the notification payload is documented
so it uses proper rst syntax and doesn't produce a
warning in the sphinx build.

Change-Id: I0d2adf36c7f5262770f5a3bda05c9ddd21efc17d
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Sync install_venv_common from oslo

Change-Id: Idd7fd1310b58e81ceb9ae06bb1e9710aee1f4a65
Fix stale process after unit tests complete

After running the unit tests (eg with tox -epy27) a stale 'nosetests'
process was always left behind.  It left TCP ports open and held references on
inodes. The latter caused a problem with some automated build systems.

Rework the relevant test 'test_no_client_tracebacks' to be functionally
the same, but clean up fully.

Fixes bug 1198685.

Change-Id: If9d3afa370dc2bd3c470b509d38c94cfb5844518
Merge "Dont raise NotFound in simple db image_tag_get_all"
Merge "Fix stale process after unit tests complete"
Merge "Add Sheepdog store"
Merge "Use python module loading to run glance-manage"