Configure PKI cache dirs

* Configure Cinder, Glance, Keystone, Nova to put cached credentials
  from keystone.auth_token into /var/cache/<service>

It is not obvious to me that having each of these service share a
credentials cache is a good idea.  It does appear to work but this
patch takes the conservative approach of putting each service's cache
in a distinct directory.

More importantly it gets them out of $HOME!

Change-Id: If88088fc287a2f2f4f3e34f6d9be9de3da7ee00d
Ensure that tempest configuration happens last.

 * Tempest configuration relies on having other services such as
   Glance and Nova running and accepting requests.  Previously,
   configuration was happening before these services were started.
   This change ensures that Tempest configuration is performed
   after the necessary services have been started.

Change-Id: If0b6753dd51671fbc2a2cf6ad32ce9303d0a0479
Fix errors when commands return error text rather than data

I'm looking at you euca2ools

Change-Id: I82bfb8a3ee58fdc54ead6a285c9415593e741892
Merge "Fix errors when commands return error text rather than data"
Merge "Ensure that tempest configuration happens last."
Add PostgreSQL support to devstack

This patch adds an interface for supporting multiple database backend
types and implemnts support for PostgreSQL. It also adds a function,
use_exclusive_service, which serves as a base for enabling a service
that conflicts with other services. The use_database function uses it,
and it might also be useful for selecting messaging backends.

MySQL is still selected by default. Tested on Fedora 17 and Ubuntu
12.04 with MySQL and PostgreSQL. Implements blueprint postgresql-support

Change-Id: I4b1373e25676fd9a9809fe70cb4a6450a2479174
Merge "Configure PKI cache dirs"
Merge "Add PostgreSQL support to devstack"
Finish configuring ceilometer authentication

Copy the policy.json file for ceilometer into place
and configure the API service to find it.

Create a service user for ceilometer when the service
is enabled.

Use the service user for the admin_user and admin_password
in the ceilometer config file so the middleware can
verify tokens.

Change-Id: I39be13da0c86704d35e0ce3dc3d27fd38d787058
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Update devstack exercises to call cinderclient

Exercises use nova volume-* commands still.  This works fine,
however moving forward now that cinder is the default volume service
we should use the cinderclient explicitly for the applicable calls.

Attach/Detach are still novaclient commands, however the others
(create, delete, list, etc) should be cinderclient.

Change-Id: I336de1b69a32eee6c91655b0a5bf8541b243f2f0
Add CINDER_SECURE_DELETE flag.

Defaults to true which means no change in behavoir.  Adds option
to disable secure delete as in https://review.openstack.org/15477.

Change-Id: I2b19ed4223460b550026ad4975080c0079c8b433
Merge "Finish configuring ceilometer authentication"
Merge "Add CINDER_SECURE_DELETE flag."
nova-manage network commands only when n-net enabled

This patch checks if n-net is enabled rather than any nova service
before creating networks through nova.  Fixes bug 1073313

Change-Id: I8810737ddbb26a5e281060f5395cfad5d186b6d3
adding support for initiating from cloudenvy

Change-Id: Id6bb64ff09b17c4e4f86cf72dd47b09c90abf68c