Suppress pagination on non-tty glance index.

Fixes bug 978610.

Avoid the 'Fetch next page? [Y/n]' prompt interfering with
redirected output.

The native glance CLI will soon be superceeded by the new
python-glanceclient, however this patch could still be useful
to propogate from master to the stable diablo/essex branches.

Change-Id: I16bc6156d7c7e9ed27aabcaa51211060ec24a824
Add a space to fix minor typo in glance help.

* Add space to fix minor typo in glance help.
* Add myself to Authors as adviced in the review process.

Change-Id: I9a656e5fce7184605eca98102f9f39a8799c84de
fix bug lp:980892,update glance doc.

Change-Id: I5b231421be4dbb38a3af45783543bef50b74c09c
remove superfluous 'pass'

Change-Id: Icf959c47a0d63ed1805151a144b99623efc0a1ac
Override OS_AUTH_URL when running functional tests

* Fixes bug 985671

Change-Id: Ie4f4c13846de727647abe168aeb193a93f03e0bf
Fix i18n in glance.notifier.notify_kombu

* Fixes bug 983829

Change-Id: Ibc5ec12e97e69797d1952c020c3091f42480abec
Remove __init__.py from locale dir

Previously, the __init__.py indicated that we have a custom locale package,
preventing imports of the locale package that ships with python itself.

* Fixes bug 977021

Change-Id: Id4921a1efd1a223790cc8b52917d00b387e9cba6
Merge "Suppress pagination on non-tty glance index."
Merge "Add a space to fix minor typo in glance help."
Merge "Fix i18n in glance.notifier.notify_kombu"
Merge "Remove __init__.py from locale dir"
Fix content type for qpid notifier.

Fix bug 980872.

This patch fixes a regression I introduced in
2d36facf14f4eb2742ba46274e04a73b5231aece.  In that patch, I adjusted the
content_type for messages sent with the qpid notifier to be
'application/json' to match a change that went into the kombu notifier.
Unfortunately, it's wrong.

I assumed based on the kombu change that notifications were being json
encoded before being passed into the notification driver.  That's not
the case.  The message is a dict.  So, just revert the change to set the
content_type and let Qpid encode the notification as 'amqp/map'.

Change-Id: Iea027409f6200109b97fed93073cff84bc915536
Omit Content-Length on chunked transfer

Content-Length and Transfer-Encoding conflict according to the HTTP
spec. This fixes bug 981332.

This also adds the ability to test both the sendfile-present and
sendfile-absent codepaths; the sendfile-present test will be skipped on
sendfile-absent platforms.

Change-Id: Ibb017b4a43d89ffdb6b868648296603cfec7780d
Fixes LP #978119 - cachemanagement w/o keystone

Removes section of glance-api-paste.ini that refers to
an improper cachemanagement middleware without keystone

Change-Id: I86a1a84aac16a8345b06ce83562f4508b49dac10
Merge "Fixes LP #978119 - cachemanagement w/o keystone"
Merge "Omit Content-Length on chunked transfer"
Begin functional testing of v2 API

* Ensure the schemas resource functionally works
* Partially implements bp api-2

Change-Id: I0bedda0276e0ae3a648d425030c434be9c1eb1b6
Merge registry context with common context

Pull the extra methods defined in glance.registry.context:RequestContext into
glance.common.context:RequestContext. This is necessary as the new v2 API
implementation talks directly to the database.

* Partially implements bp api-2

Change-Id: Ia8c1fde511bdca69be0dcf61ce12976ace5f7dc3
Merge "Merge registry context with common context"