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"
Few changes to get_uec_image.sh:

Fixed typo in usage message

Fixed usage message to represent actual code

Set default minimum image size to 2000MB from 2000*BS

fixed bug not creating directory for downoladed files

Change-Id: Id736ac7984f88e61b685569b6ba5e9158bea5889

added percise and quantal

Change-Id: Id9cb74dded044ec998700c1b456a8077f76c96e8
Install and configure python-heatclient.

This uses the new REST API. It installs a client executable called 'heat'.
The old heat client in the heat repo has been renamed to heat-cfn.

Change-Id: I7bc8662c531e3639cc940a44df96ff426ac3aada
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
Fixed path for calling build_uec_ramdisk.sh from build_usb_boot.sh

Bug desc: build_usb_boot.sh is unable to find build_uec_ramdisk.sh while being called from tools directory. Variable with correct path wasn't been used at all.

Change-Id: I5ddff3d587a495e6768163f6b282e5b5f7a40849
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
Configure Cinder for syslog if enabled

Change-Id: I3d2770cd2c3e3b93c0f26de359e5b0cb166826c1
Added options to improve offline usage.

 * NOVA_ZIPBALL_URL can be set for a XS/XCP install to point to a
   non-standard zipball location.
 * PIP_USE_MIRRORS (default True) can be set to False to stop pip
   from attempting to use mirrors (useful for when using an offline
   eggproxy).

Change-Id: I01a9944fe4c13c8cc8323a703f598bc498491b73
Documentation and formatting cleanup

* No functional changes to see here

Change-Id: I68b7abb3a30effc9e76c6e7deb1e3c6ef140f6bb