Enable pxe_network_config option.

This option tells the nova baremetal driver to append the network
configuration to the kernel cmdline when pxe booting the baremetal
image. Initramfs built with network support could then benefit from
this option and avoid the need of having the network configuration file
injected into the image.

Change-Id: I757dbb8224a9e0eee64da4ee71da5567b18b3892
Open keystone service port on Fedora.

This port allow keystone admin without logging in the bootstrap node. The
patch also rename the script making it run before the 98-boot-stack,
the 98-boot-stack will add some rules to the firewall that shouldn't be
saved in the /etc/sysconfig/iptables.

Change-Id: I2497e3ce7b20761bbc29f71f778ba349f6c21b09
Do not install percona-toolkit on Fedora.

percona-toolkit is not supported on Fedora.

Change-Id: Iab383af19b12f90e5988665d04d0b416ebcd3d74
Merge "Enable pxe_network_config option."
Reflow too-wide lines.

Change-Id: I91d6793d0a1ea380d628eb051fbcbf0770db8f13
Set a fixed host for nova in boot-stack.

This makes the registration scripts be able to depend on the hostname,
irrespective of the static hostname in the base image used for seed
nodes.

Change-Id: I6bc1c2560d2d548ab99cb6f4129c70e572a918dc
Another os-apply-config rename step.

Change-Id: I37d6e0fc5adbc62d9742a4c143e26af3793fd32a
Tweak seed element NAT rules.

To be able to route traffic to the bootstack control plane, we need to
not mangle it when the traffic is from te kvm host. Libvirt uses
192.168.122.1 as the host IP.

Change-Id: I6ca107ddab2b7d5c3a8ca1233f2f9f2ead11db74
Merge "Open keystone service port on Fedora."
Fix and Use rabbitmq-server element in boot-stack

Rabbit MQ is a separate service and has configuration logic, so the
entangled configuration within boot-stack was inappropriate.

* Remove rabitmq-server restart in boot-stack firstboot.
* Move custom upstart script from boot-stack into rabbitmq-server
  element.
* Make rabbitmq-server orc properly handle empty heat_users.json file.

Fix bug 1166838

Change-Id: I8985d8020f94c257d426065cf914213b35ec959f
Permit PXE deploy timeout configuration.

Nova defaults PXE deploys to not time out, which leads to wedged
machines requiring admin intervention -  even when they can be
software recovered.

Fix bug 1184475.

Change-Id: I600a5dd1da19228023cc82e4b4fd961280f54b96
Merge "Permit PXE deploy timeout configuration."
Filter bootps requests on the seed cloud host.

The seed cloud VM sees requests from all baremetal nodes in the
datacentre LAN, but is only meant to answer those registered with it -
the undercloud control plane. Other nodes will be registered with the
undercloud control plane and when the seed node answers they will fail
to boot, which is undesirable.

Fix bug 1195654.

Change-Id: I3818296176cfbd05f3ee28000aa3487f9f3b8ef6
rc-local and rabbitmq-server ordering.

This patch will configure the startup ordering dependency between the
rc-local.service and rabbitmq-server.service. If not configured systemd
will start both services simultaneously and it might cause the first boot
execution to fail because rabbitmq-server wasn't up and running when the
scripts are running. Before I8985d8020f94c257d426065cf914213b35ec959f
this problem wasn't apparent because rabbitmq was manually restarted at
the beginning of the first-boot.d/98-boot-stack script.

Change-Id: Id86b43036f448262f241c04369191dfa253a6aeb
Stop installing libvirt on baremetal nodes.

As per bug 1191649 the presence of libvirt on the baremetal undercloud
node causes routing to fail, as the node ends up with a
192.168.122.0/24 virbr0 network. Fix this by splitting out some of the
kvm specific bits of boot-stack.

Change-Id: Ie7bba9d2bceb3720fc9074e197da4c3999f1d509
Install clients in their own venv

Fixes bug 1194807

This prevents dependencies from polluting the system
environment.

Change-Id: I47905f00ef0ffe7521098508def5f29839f9ae3f
Use --no-site-package for services venv's (-nova)

The --system-site-packages option essentially removes the benefits of
virtualenv, nova is a special case because it depends on python-libvirt
which can't be installed via pip.

Change-Id: Ifc3580d4b59a5f1e97de77c0c4a875b123208100
Update nagios3 elements-dep.

Change os-config-applier to os-apply-config.

Change-Id: Ib31e921ea8192e4b4c81c2ff41dd5bdf34a7f58a
Authored-by: Chris Krelle <nobodycam@gmail.com>
Merge "Install clients in their own venv"
Add element-deps to apache2 element.

Apache2 element does not have element-deps file.
Yet it has OCA templates and ORC scripts.

Authored-by: Chris Krelle <nobodycam@gmail.com>
Change-Id: I77902e7ef9adcf392c6d1a29ee486c77b563d0c1