Add XAPI config to quantum rootwrap for XS/XCP.

 * Supports blueprint xenapi-ovs

Change-Id: I902458ec26cd07e94fe50bb3648efa75658ccba3
Do not run heat/tools/nova_create_flavors.sh

This script takes a long time to run which will affect tempest
run times. Instead of running this, example templates will be modified
to align with the default heat flavors.

Change-Id: I588b1da9f5a02de3bf64ac8011d75c7d5432ef26
Basic check for homedir permissions

Several guides suggest using data directories under your homedir,
rather than the default /opt area.  This is fine, but on RHEL6 and
similar distros homedirs are very restrictive 0700 permissions which
doesn't allow things like httpd to pass through to serve up files.

Even though stack.sh is taking over the host, changing permissions
automatically is not a nice idea.  So we just warn when it looks like
this is happening.

Change-Id: I9cd70e7fe90638a2a5c3b8fd94756afacac7c7be
Stop quantum-ns-metadata-proxy process on unstack

Change function stop_quantum() in lib/quantum to also kill quantum-ns-metadata-proxy process

Fix Bug #1175658

Change-Id: I9e8f8437817cc645ab15eecfea1a134ea5ac13f2
Check quantum status dependent on the plugin

There are Quantum plugins that do not require the use of an agent.
This patch relaxes the constraint in quantum-adv-test.sh by adding
the ability to customize the logic that verifies whether the test
can run or not, depending on the Quantum plugin of your choice.

Fixes bug #1177904

Change-Id: I6e2c17f43d9e1475b2eb175cceb5107a83f9aa74
Disable selinux for RHEL6

selinux locks down httpd which causes various issues for Horizon
working from git checkouts.  Dealing with selinux is more a deployment
than a development issue, so we just disable it for devstack.

Change-Id: I1e61f34e812360dafacd3b3288e66bc9cc5f1648
Fixes: 1175444
Clean up horizon apache logs on unstack

It feels like the right think to do. Moreover it will avoid to display
horizon errors from a previous devstack run that would be displayed because
of the tail -f in start_horizon()

Change-Id: Id1ab272e60e0733a4feef3b85029f438f2273cb0
ceilometer setup incorrectly sets notification_topics

drop glance_notifications from notification_topics in ceilometer setup

Change-Id: Ib18b4193af9df925b4ce4dbe3faf4c6a756ed03f
Fixes:Bug #1178704
xenapi - cleanup

Add error on unitialised variable to the scripts. This way some issues
were identified. Also modify README with fresh variables. The patch
includes:
 - Add SWIFT_HASH to the README
 - Add XENAPI_CONNECTION_URL to the README
 - Add VNCSERVER_PROXYCLIENT_ADDRESS to the README
 - Introduce UBUNTU_INST_IFACE which is the OpenStack VM interface used
   for the netinstall. It defaults to eth3. Previously this parameter
   was set by the combination of HOST_IP_IFACE and the undocumented
   NETINSTALL_IP
 - get rid of NETINSTALL_IP
 - xenrc includes CLEAN_TEMPLATES
 - xenrc no longer tries to change directory
 - remove chrooting from prepare_guest.sh (STAGING_DIR was always / )
 - remove DO_TGZ variable from prepare_guest.sh
 - use arguments to call prepare_guest.sh, instead of env vars
 - Fix backslash escaping in prepare_guest_template.sh

NOTE: networking is about to be addressed in a separate change.

Related to blueprint xenapi-devstack-cleanup

Change-Id: Ie9a75321c7f41cc9a0cc051398d1e6ec2c88adfa
Merge "Basic check for homedir permissions"
Basic cells support

Adds support for running a region and child cell within a single
devstack environment.

README.md has been updated with some info on getting started.

Rebased/updated from initial work by Andrew Laski <andrew.laski@rackspace.com>.

Change-Id: Ic181da2180ccaa51df7efc9d66f7ccb820aac19b
Merge "xenapi - cleanup"
Only search the lib dir for rpc_backend

The grep in rpc_backend uses . to search all files. Unfortunately
the current directory when the command is called is not the lib
directory, so change it to search the lib directory instead.
Without this fix the command is forced to grep all files under
devstack which could be very slow if one has downloaded large
images.

Fixes bug 1174718

Change-Id: Ic8a59885cd07e5d6f2e734e80824762f9ac12996
Merge "Only search the lib dir for rpc_backend"
xenapi: Ubuntu installation repository/proxy fix

Get rid of UBUNTU_INST_REPOSITORY, use UBUNTU_INST_HTTP_HOSTNAME and
UBUNTU_INST_HTTP_DIRECTORY instead. User can also specify
UBUNTU_INST_HTTP_PROXY to utilize a proxy for the OpenStack VM
installation. The answer file will be edited to contain the specified
values. Also get rid of the magic, undocumented MIRROR variable.

This is related to blueprint xenapi-devstack-cleanup

Change-Id: Ic9fc564c4ad0f43e2e536854335ebe14791d0255
fix ceilometer ENABLE_SERVICES comment

- keep it aligned with the Ceilometer doc

Change-Id: Ib1ca0cfbeafc61723e5d4fe79da6355db7d76f0c
Fixes: bug #1179590
Merge "ceilometer setup incorrectly sets notification_topics"
Merge "Check quantum status dependent on the plugin"
Merge "Disable selinux for RHEL6"
Merge "xenapi: Ubuntu installation repository/proxy fix"