Make it possible to choose a different VIF driver.

This is useful when working with baremetal which uses openvswitch quantum
plugin, but baremetal-vif vif driver.

bug 1080562

Change-Id: I9f94a8f2d7f11fa0771a5304b0aed1d0de5a3db7
install nodejs-legacy on quantal

quantal changed the name of the node binary on disk, which breaks
horizon on 12.10 installs. Provide a work around for installing
the legacy package on that environment.

Fixes bug #1070083

Change-Id: If8ef211d12451ef4e1df0d2398cf18a3b2c46da3
Re-add postgresql-setup initdb for Fedora

The Fedora RPM does not set up the postgresql data directory.
postgresql-setup initdb must be run after installing the RPM.

Change-Id: I5e5ab659e83f4ee6a024f74a23bf4562ea0065ce
Configure heat engine server URLs

Wait conditions do not work without them.

Change-Id: I64ed75e4b84c73678af11182ac951cb1da561428
Remove python-openstackclient.

It's not used.

Change-Id: I00deaa9ebcd844dd9c3c9d2560d11ad37589d847
Default Q_HOST to HOST_IP rather than localhost.

This makes it less likely to interact with e.g. http_proxy settings.

I filed this as bug 1080561.

Change-Id: If97459a28f2d2a77cd322bb3f6024d11fbb8fcd4
Creates nova endpoint when n-api is enabled.

Fixes bug 1081975

Nova endpoint in keystone was registered if n-cpu is enabled. However it is
a usual case where n-cpu runs on a different host in multi-node setup and
it results in no endpoint for nova. n-api is a better condition since nova-api
and keystone usually run on a same host.

Change-Id: Ic097e1c3bd30798d9d3c5fb76023fbdb3ae189d9
Use NOVA_BIN_DIR for newer binaries.

We added a variable a while ago, NOVA_BIN_DIR which is set properly to the
location of the binaries. Rather than using the in-tree bin-dir, which is
going away in favor of entrypoints console_scripts.

Change-Id: I65040cfe8321d49595a909353870f981bbd6a480
move horizon logic to lib to clean up stack.sh

pre holiday refactor extrodinare, get the horizon code
over fully into lib/horizon so that all these fixes aren't
scattered through stack.sh

Change-Id: I7f26c5c6708d5693048eb7b1ce792122adbc7351
Revert "Remove python-openstackclient."

This reverts commit 6e3330967c5c7be73a8ffee3779c214768683c56

This is in fact useful to an admittedly small population.  And if I had not been on vacation I'd have -2'd it...
Add partial openSUSE/SLE support

Note that this is the first part of the support. A second part involves
dealing with the package names.

Among the changes:
 - add several functions to determine some distro-specific behavior (how
   to call usermod, if some features are available on the distro, etc.)
 - correctly detect openSUSE and SLE in GetOSVersion, and set DISTRO
   accordingly
 - new is_suse() function to check if running on a SUSE-based distro
 - use zypper to install packages
 - adapt apache virtual host configuration for openSUSE
 - some simple fixes (path to pip, mysql service name)

Change-Id: Id2f7c9e18a1c4a7b7cea262ea7959d183e4b0cf0
Fix ini functions to handle spaces in section names

This allows section names to look like:

[ default ]

OpenSSL is the primary offender for this usage.

Change-Id: If5c711107e73cebab9d4a26ca02a7ce572224377
Also pickup quantum distro dependencies (bug 1080886).

Change-Id: Ic0fc0b03dc01782d0d85d98de765f04fcbcacd74
Don't combine sed options

Combining '-i -e' into '-ie' changes behaviour, don't do that

Change-Id: Ice46c6b4f899b4c76f355cc88241dd33bc60f459
Install Tempest's dependencies along with it.

* lib/tempest(install_tempest): Directly install Tempest's
tools/pip-requires list after cloning the repo.

Change-Id: I5c508faab8756d5cdfec53193e08e3440fda1b2c
Add OBJECT_CATALOG_TYPE to tempest config

* add OBJECT_CATALOG_TYPE

Change-Id: I776f7ce65e44ceef139e34a1b1aff52e069b90e6
Ensures that Quantum sets the correct signing directory

Change-Id: I4f01a171f0ced73ba6b6000d225c8f5811f1874a
enable mod_wsgi on horizon_init

on a clean ubuntu environment wsgi wasn't getting enabled
ensure that it actually turns on wsgi to that apache can start

Change-Id: I9c74f7c5d5d2f995843b2a649a52f7159c7de314
remove hard tabs from keystone_data.sh

hard tabs somehow snuck into keystone_data.sh, noticed
in an unrelated review. Remove for consistency.

Change-Id: I04f3b4597fd3629c7f123588c512832a67228597
Start nova-conductor before nova-compute.

nova-compute is going to need to talk to nova-conductor during startup,
so go ahead and start it conductor before compute.

Change-Id: I565436e06b5bf4189ead0a57d57ec2ce4cf79bd8