Don't use PasteDeploy for scrubber and cache daemons

There are no WSGI apps involved here, no need to configure pipelines with
filters etc. All we're using PasteDeploy for is to construct an object.

Well ... there are easier ways to do that! :)

Change-Id: I4166d0071738fe587572db8f2883900408e9f097
Convert db testing to use inheritance

This modifies the existing sqlalchmey-specific db tests to a more
generic approach where test cases can be inherited and bootstrapped
for different db implementations. It's a similar approach to our
store-specific bootstrapped test cases built off of test_api.

Related to bp refactor-db-layer

Change-Id: Ia516e93abd36e2727f122968d3c7ef6e0f1d5801
adds missing import and removes empty docstring

fixes bug 1014788
fixes bug 1015210

Change-Id: Id5dd44d5d0265368e39b36ef1d4f6694aedb6456
Remove unused imports in db migrations

I went on a hike through the migrations and decided to apply the boyscout rule.
Scouts honor.

Change-Id: I10c677cfd5186edce3ca96495eafc732168cac86
Remove some more glance-cache PasteDeploy remnants

The default_config_file arg to load_paste_app() was only used by the
cache daemons because they were all using glance-cache-paste.ini.

Since that use case is gone, remove the argument.

Change-Id: Ibf15810b37d9a2b9b94ed311c304916e7de2d6cf
Capture logs of failing services in assertion msg

This is a temporary measure to help track down the cause of the
regular functional test failures that manifest as an unhelpful
'Unexpected server launch status' error.

(Previously the glancelogcapture plugin would have handled dumping
the logs, but this was broken by the recent change-over to nosetests
from run_tests.py)

Change-Id: I3dae58aa063536675503f23d1cc87767e68f75b2
Revert "Funnel debug logging through nose properly."

This fixes bug 1015613

This reverts commit 95fb6e5f8988079d7dffe3a039f1ebd697199eb8.

Change-Id: I827475c86d6f9166c0ee3ba9b0cc9a0a5105c049
Trace glance service on launch failure.

Where a glance service launched by a functional test fails to
begin listening on the expected port, attach strace(1) in order
to determine where the process is blocked.

Change-Id: Ic745bc34306c852fc8125a0a901686d4ff28e403
Merge "Remove unused imports in db migrations"
Merge "Convert db testing to use inheritance"
Merge "Capture logs of failing services in assertion msg"
Merge "Trace glance service on launch failure."
Merge "Don't use PasteDeploy for scrubber and cache daemons"
Merge "Remove some more glance-cache PasteDeploy remnants"
Merge "Revert "Funnel debug logging through nose properly.""
Set up Simple DB driver tests

This adds a few bootstrappy test cases to get the db tests running
against the simple db driver. I've also added a decorator for the
simple driver methods to make these tests uber useful.

Change-Id: I51cc9c19fd800f7991a46b80ee964a150820ec10
Remove listing of image tags

Change-Id: I22a37e0b841255a652d8083a49317086dca2dcc4
Merge "Set up Simple DB driver tests"
Move the particulars of v2 schemas under v2

Implements blueprint api-v2-refactor-schemas

Change-Id: I6ddb0aa9a8fdac2d9a7210e0d0b0fb91e8220396
Fix exception if glance fails to load schema

* Fixes bug 1016762

Change-Id: Id1f39d39738289161fe43a22c497ee76b7a9574b