Merge pull request #24 from MirantisDellCrowbar/bug/DCB-123/release/pebbles/master

Enables nova to use internal-network based endpoints for such operations...
Permanently enable IP forwarding on SUSE

it's done via the IP_FORWARD setting in /etc/sysconfig/sysctl
(cherry picked from commit 13a3c54c2e9d79b95ec1462eb91273e05b137012)

Signed-off-by: Michal Jura <mjura@suse.com>
Set SUSE specific package- and service names where needed
(cherry picked from commit 40d84efb8f24f7cfc6a3cd022d0f6d0221e5ba56)

Signed-off-by: Ralf Haferkamp <rhafer@suse.de>

Conflicts:
	chef/cookbooks/nova/definitions/nova_package.rb
	chef/cookbooks/nova/recipes/config.rb
	chef/cookbooks/nova/recipes/vncproxy.rb
	chef/cookbooks/nova/recipes/volume.rb
install kvm/qemu before libvirt
(cherry picked from commit 7080ad6c1d62d737497f30dcf234fb83d7fe01ac)

Signed-off-by: Ralf Haferkamp <rhafer@suse.de>
Load the kvm kernel modules after installing kvm

Otherwise nova-compute/libvirtd refuse to start later on.
(cherry picked from commit 8c696d77ac97cb80d46b4aa617b560aa86270cb8)

Signed-off-by: Ralf Haferkamp <rhafer@suse.de>
Set libvirt_type in /etc/nova/nova.cfg

Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit dc3928398dee54912175e0745754ff0f6b753678)

Signed-off-by: Ralf Haferkamp <rhafer@suse.de>

Conflicts:
	chef/cookbooks/nova/templates/default/nova.conf.erb
Use prefixed system user
(cherry picked from commit 170286dd7e2c362e2af4436646a8348f61f6aced)

Signed-off-by: Ralf Haferkamp <rhafer@suse.de>

Conflicts:
	chef/cookbooks/nova/recipes/config.rb
add xen deployment support
(cherry picked from commit 6fa5b5e6c1d222001b7e75fed4ad5d350dd3b900)

Signed-off-by: Ralf Haferkamp <rhafer@suse.de>

Conflicts:
	chef/cookbooks/nova/recipes/compute.rb
	chef/cookbooks/nova/templates/default/nova.conf.erb
disable rp_filter, which is enabled by default on SUSE
(cherry picked from commit 620307c68d6755e871e0d6c78efd1e878091f711)

Signed-off-by: Michal Jura <mjura@suse.com>
change libvirt to run qemu as user qemu
(cherry picked from commit 9085f9e0356254335eb1452abce9c21fe5de5a6e)

Signed-off-by: Michal Jura <mjura@suse.com>
default to using virtio nics for kvm deployments

http://www.sebastien-han.fr/blog/2012/07/19/make-the-network-of-your-vms-fly-with-virtio-driver/,
(cherry picked from commit 321c2763c0c4769a297a6b574b2bdb750219f548)

Signed-off-by: Michal Jura <mjura@suse.com>
fix qemu.conf user and group settings for non kvm deployments
(cherry picked from commit 52d074b98bdacc517569471250270712605d209f)

Signed-off-by: Michal Jura <mjura@suse.com>
use kvm in -no-kvm mode instead of qemu (bnc#772586)
(cherry picked from commit 99942d00cfd61617263a7ad728c8bd0af2e4bd42)

Signed-off-by: Michal Jura <mjura@suse.com>
disable file injection for libvirt

Instead of having nova inject files (ssh keys) into images, the metadata
api should be used by tools like cloudinit.
(cherry picked from commit fe5c1fc32e4c4c7ad19a2ea388ea3e69c5a4f02b)

Signed-off-by: Michal Jura <mjura@suse.com>
add lxc support for nova
(cherry picked from commit d57078ec25958eb240249657a877c3e6134341a3)

Signed-off-by: Michal Jura <mjura@suse.com>
Make nova_service more configurable, i.e. allow to _not_ enable it...

...right after package installation. This code really deserves more cleanup.
(cherry picked from commit 27c766b533a7484e57da208710abf169088b8072)

Signed-off-by: Michal Jura <mjura@suse.com>

Conflicts:
	chef/cookbooks/nova/definitions/nova_package.rb
fix package names for SLES
Don't change standard qemu.conf on SLES
only restart libvirtd if needed (bnc#776938)
(cherry picked from commit bd6ad49f3ce8716eac39ae7b6ec78d534e9c03a5)

Signed-off-by: Ralf Haferkamp <rhafer@suse.de>
Add chef attribute for ram_allocation_ratio config option

The default value is "1.0", which essentially disables host RAM overcommit (bnc#784345)
See http://docs.openstack.org/essex/openstack-compute/admin/content/scheduler-filters.html#ramfilter
(cherry picked from commit 6cc2eeb78c62a091df9af46228649a56513e39c4)

Signed-off-by: Michal Jura <mjura@suse.com>