[Fedora] Install dnsmasq on n-cpu less host

The libvirt-daemon-driver-network pulls the dnsmasq,
on hosts where the n-cpu installed with libvirt backend.

But nothing installs it if you have only n-net or q-dhcp,
on the given hosts.

dnsmasq-utils does not depends on dnsmasq,
because it can work with other local dhcp servers.

Change-Id: I17a769df3bd51ca608c1728e892009125eea42ed
Support of an alternate pypi server

Currently pip will get the package from the https://pypi.python.org server.
For CI, it's a problem as Internet connection can be down,
the pypi server down, etc...

The usecase is for a company/user that maintain a local pypi mirror
and give the option to use this server instead of the official one

Change-Id: I83aac4646cb78827a92c9636d78238f8a6118642
Implements: blueprint support-local-pypi-server
Do a proper tls/ca cleanup in unstack

Certificates and the index were left in the data directory after
running unstack. That would break devstack on the next run.

partial blueprint devstack-https
Change-Id: I6eb552a76fb29addf4d02254c027e473d6805df1
Promote libffi-dev as a general dependency

libffi-dev/libffi-devel can be requested for rebuilding the
python clients which is an un-skipable part of the devstack install.

Promoting the libffi-devel to a general dependency.

Change-Id: I1dac7fd536b94de1e49aaf335ac29ffae1bd39d1
Fixed NO_UPDATE_REPOS variable usage

Change-Id: I50a2fd73f30321e97c99947b62fb1729870a2c14
XenAPI: Use GUEST_PASSWORD when installing DomU

We know what the GUEST_PASSWORD will be, so set it during DomU
installation; therefore if the installation fails for any reason
we have a correct GUEST_PASSWORD set rather than the obscure and
undocumented 'r00tme'

Change-Id: I684646a74f2cede43667a40556e247955e042ae4
Configure the OVS datapath type with devstack.

This feature provides the user with a means of easily configuring
the required Openvswitch datapath type. (Netdev, dpdk, etc)

Define the OVS_DATAPATH_TYPE variable in the devstack configuration file
local.conf.

This feature enables Intel(R) DPDK vSwitch and netdev DPDK vhost.

Implements blueprint config-ovs-datapath-type

Change-Id: I5698720960b1ac532c790d3e5735c5cef36d5e3d
XenAPI: Fix race condition on tailing stack.log

Stack.log is created by stack.sh, which is started by run.sh.  Using
the pid from run.sh doesn't mean that stack.log has been created yet
so wait for the log to be created before tailing

Change-Id: I86e563478949cb7bbe0d1afd80b790ba70328e3a
Add DVR support to DevStack

This patch introduces a new Neutron  config option: Q_DVR_MODE.

The possible values are:

- legacy  : No DVR functionality
- dvr_snat: Controller/single node DVR
- dvr     : Compute node in multi-node DVR

When DVR is enabled the following configuration changes will be
in place:

- neutron.conf
  - router_distributed=True

- l3_agent.ini
  - agent_mode=$Q_DVR_MODE

- ovs_neutron_plugin.ini:
  - enable_distributed_routing=True
  - l2_population=True
  - tunnel_types=vxlan

Supports-blueprint: neutron-ovs-dvr

Change-Id: I669e054a8489fe7ac7f5c00df6535349d477e8c4
Fix trove guest confing to ignore user os_admin

This value of ignore_users in the guest config needs to be set
correctly to ignore the local os_admin user for the trove functional
tests to pass in a devstack-gate environment.

Change-Id: Ia31dfe8f2eab4b24790b6be0dbc474cf50f39afa
Use one name for neutron database after healing

Now that the Neutron database is healed we no longer need a
plugin-specific name for it.

Related Blueprint: db-migration-refactor

Change-Id: If25e77444f115817e5570bb447bde5b9c8d6e686
XenAPI: Always add latest Cirros euc image

Some tests, such as test_minimum_basic_scenario, assume qcow and if
a qcow image does not exit, falls back to the euc image.
This change ensures these tests work in the stock XenServer environment.

Change-Id: I718f178f7e5e0fa4eebd17a49caf5254124092e3
Fix default_volume_type for Cinder multi backend

The default_volume_type option doesn't support comma separated
arguments. We can only select one default volume type.
We have a variable that contains the default volume type, so we simply use it.

Closes-Bug: 1342569

Change-Id: Ibd080442f00f3d446ec374fc5906f0778d449007
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Remove unfubar_setuptools

It is no longer used for anything, nor does it seem to be
needed in the modern world of get-pip.py.

Change-Id: I5554514dd862a2004454daf295abbcf9cf9f2bfb
Add WSGISocketPrefix to apache keystone config

I think since probably fdf1cffbd5d2a7b47d5bdadbc0755fcb2ff6d52f
devstack on RHEL6 fails and it comes down to:

---
2014-07-17 05:05:49.235 | +++ openstack role create admin -f value -c id
2014-07-17 05:05:49.615 | ERROR: cliff.app Service Unavailable (HTTP 503)

[Thu Jul 17 15:05:46 2014] [error] [client 10.0.2.15]
  (13)Permission denied: mod_wsgi (pid=30125): Unable to connect to WSGI
   daemon process 'keystone-public' on
   '/etc/httpd/logs/wsgi.30098.0.1.sock' after multiple attempts.
---

The apache user doesn't have permissons to this directory.  Adding
WSGISocketPath to /var/run solves it

Change-Id: If4b74019b6bd389b576fc981154bb1b3aa471c9b
Merge "Add WSGISocketPrefix to apache keystone config"
Merge "XenAPI: Fix race condition on tailing stack.log"
Merge "Fix default_volume_type for Cinder multi backend"
Merge "Do a proper tls/ca cleanup in unstack"
Merge "XenAPI: Use GUEST_PASSWORD when installing DomU"