Set up Cinder for TLS

* Start c-api proxy if 'tls-proxy' is enabled
* Configure Cinder service catalog for TLS

Change-Id: Ic692a0a16ffa51bfd4bfb67f827cd941ac0e72a4
Fix iniset and his friends

* In python the white spaces are part of the section name
* Handle options with empty value
* Support paths with white spaces

Change-Id: I69a584608853cfdb8b7dce1e24d929216ef2fc41
Add mechanism to automatically load additional projects

This adds an extras.d directory to contain startup scripts that
stack.sh runs automatically at the end.  Similar to local.sh
except the scripts are sourced into the stack.sh process rather
than executed as a child process.  This gives them complete
access to the stack.sh environment.

Convert Tempest to use this format as an example.

Change-Id: Ibc95e6aaecf4211da948319eb452293ae4357780
Add tools/make_cert.sh

This allows use of either the DevStack CA or creating another CA
independent of stack.sh.

Change-Id: I055679b5fd06e830c8e6d7d7331c52dd8782d0b6
Fix tempest flavors and DEFAULT_INSTANCE_TYPE

The flavor selection was broken if DEFAULT_INSTANCE_TYPE is defined
but not yet created, for example when it is created in local.sh.
This also has the side effect of setting flavor_ref_alt to the first
flavor where it was unset in the previous code.

Change-Id: I1fa48b3f90af45144c92298b6b07a4f7ee3b499f
Add .stackenv to gitignore.

Change-Id: I39e91aaf5e9ff29b025fd5a1aa74bad01c5e5bdd
Fixing python-heatclient's git repo path.

heatclient was moved to the official openstack repo.  Thanks Simon
Pasquier for the patch.

Change-Id: I561bf1ea11f1c74b5e75ab93170bd367ba36f90f
Fixes: bug #1096922
Add stackrc comments to HACKING

Change-Id: I46ff885184a2b5b71caca905c27f28d8b1304011
Fix EXTRA_OPTS handling

In the conversion away from add_nova_opt the EXTRA_OPTS handling
inadvertently replaced all '=' chars in the value rather than
just the first.  Additional '=' is legal for an option value.

FWIW here is the setting that tripped it:
EXTRA_OPTS=default_log_levels=sqlalchemy=WARN,boto=WARN,eventlet.wsgi.server=WARN

Change-Id: I2deb139171250eb0ef5028bb924569cec31e1a4e
Fix "sudo: sorry, you must have a tty to run sudo"

On many systems the requiretty sudoers option is turned on by default.
With "requiretty" option the sudo ensures the user have real tty access.

Just several "su" variant has an option for skipping the new session creation step.

Only one session can posses a tty, so after a "su -c" the sudo will not
work.

We will use sudo instead of su, when we create the stack account.

This change adds new variable the STACK_USER for
 service username.

Change-Id: I1b3fbd903686884e74a5a22d82c0c0890e1be03c
Handle existing security group rules in volume exercise

Change-Id: I0aa3bc0c6179f92a12c1e9bbace61597778ffa1f
Quantum FloodLight/BigSwitch Plugin Support

The patch introduces devstack support for the Quantum FloodLight/BigSwitch
RESTProxy Plugin.

Change-Id: I8c032fd16723ed6055821de0860fae508df371b7
Implements: blueprint quantum-floodlight-bigswitch-plugin-support
Make sure to cleanup swift on unstack/relaunch.

- Fixes bug 1049553.

Change-Id: I9fef93d25512c014dfb882adf0e169487bf877d8
Tempest should create his own flavors

* Decrease memory usage caused by tempest significantly

Change-Id: I0ea59d9bb1fbeb93f04353bc6b4e148637edf945
Support RHEL with lsb_release

Consider all distributor as "Red Hat" which id matches to the Red.*Hat regexp.

Example Distributor ID: "RedHatEnterpriseServer"

Change-Id: I29cc2e83cccaafa3e1e056e506fda5c9771764a1
Refactor rpc backend configuration logic

This commit also changes the following:
- Fixes Nova QPID module path
- Fixes a bug Cinder ZeroMQ RPC points to nova module
- Adds ZeroMQ setting for Heat RPC

qpid_is_supported is moved from functions to lib/rpc_backend.

This work is based on the work by Isaku Yamahata <yamahata@valinux.co.jp>
in https://review.openstack.org/#/c/19074/.

Change-Id: I45e21b1fb85e539213f5243764132a37906d7455
Have ecua.sh to accept the correct error code

ecua.sh will accept both the current and the correct error code

Change-Id: I364e411986b9780fd5c5df29697753f04a9a4935
Enable MySQL slow query log.

Change-Id: I3db33839bea28abaff01f1d7b7d6698c5dd2c083
Increase tempest memory

32 MB not enough for boot correctly

Change-Id: I58ca4c7e8dd303450a9970136d6f60661ea70f67
Remove error from httpd/apache on unstack.sh

Fedora/RHEL use httpd for the package name of httpd.  This is handled
in other parts of the horizon startup code, but not in shutdown.

Change-Id: I2732dad652d83a9cbe055f5f077678b7111ca782
Fixes: bug #1099538