Update aggregates test for aggregates bp

Instead of implementing availability zones in the service table,
availability zones will be implemented using general aggregate metadata.

So when an aggregate is created it will already have metadata.

Part of blueprint aggregate-based-availability-zones

Change-Id: I0fd22399b99a14087fef63fc91d0baef746efbed
Write selected env variables to .stackenv

There are some environment variables that are derived in stack.sh
and cubersome to re-create later, so save them at the end of stack.sh
for use by other supporting scripts, such as openrc.

Change-Id: I1bbf717b970f8ceac0ff7da74aeaf19474997e07
Always chown $KEYSTONE_CONF_DIR

If the directory exists but is owned by another user, then this will
cause failures.

Note that we already do this for other components (glance, for
instance).

Change-Id: Ic7d2a2dd179f721636afc9ea9c3fe6bb314c9b33
Do not use sudo when sed'ing $KEYSTONE_CATALOG

We already edited this file earlier without sudo.

Change-Id: I366053edd1a2ad729cfd983ea7491c6252cad905
Use the right service name for tgt/tgtd in stop_cinder

Change-Id: I58cf8cdf88a3edebed729f4460e8ce222db3664d
Move cinder account creation out of keystone_data.sh

Supports the coming HA/proxy configuration for Cinder

Change-Id: If2e08e45430dce895ed6bb1070612517a38ca4bc
Add tempest config support for quantum.

 * Supports fix for 1043980

Change-Id: I047989dacc263b30992a90181fb07a5ac47787d4
Remove unnecessary returns

* remove duplicated xtrace
* remove some unnecessary return

Change-Id: If9e0a979e0bd5a334e82d42572ac0b149de341d7
Clear out the keystone pki data for each run

This prevents old invalid tokens from working after a rerun of stack.sh
and potentially providing users and tenants that don't exist.

Fixes bug 1089700

Change-Id: Icfc22978e41e459d51b50bc7ad2e6d98d766e402
Merge "Update aggregates test for aggregates bp"
Merge "Always chown $KEYSTONE_CONF_DIR"
Merge "Move cinder account creation out of keystone_data.sh"
Merge "Clear out the keystone pki data for each run"
Merge "Add tempest config support for quantum."
xenapi: Enhance devstack progress monitoring

Fixes bug 1091299

XenServer - devstack install monitors a log file by tailing it, to see,
if the devstack installation is finished. In some cases this script does
not detect, that the startup script is finished, and just waiting,
causing build failures with timeouts. With this change, the
install_os_domU script monitors, if the run.sh script is still running,
thus guaranteed to exit as soon as run.sh is done.

Change-Id: I24a7a46e93ce26be024096828c7954bc694af2b2
Merge "Write selected env variables to .stackenv"
Changed so that nova databases are only created once in a multi-host setup.

Change-Id: Idb17bcb8b6d558f03c188d14509bb5e732079585
Fixes: bug #1091730
turn debug on for euca-upload-bundle

this spuriously fails in devstack gate, and need to turn
this on to get to the bottom of the fails.

Change-Id: I7d5c1b4d3230efacdd8a3b89e5e40e98ac894a1d
Merge "turn debug on for euca-upload-bundle"
Create tools/install_prereqs.sh

* Factor system package prereq installs out to tools/install_prereqs.sh
* Set minimum time between runs with PREREQ_RERUN_HOURS
  default = 2 hours
* Create re_export_proxy_variables

Change-Id: I4a182b1da685f403d6abdd8540d2114796c01682