6wind-virtual-accelerator-plugin: workaround for ceilometer bug

When ceilometer is enabled on controller node and the plugin is active,
the environment deployment fails on the compute node hitting a bug similar
to https://bugs.launchpad.net/fuel/+bug/1603446.

More details available here:
https://github.com/openstack/fuel-library/blob/stable/8.0/deployment/puppet/osnailyfacter/lib/facter/libvirt_package_version.rb
https://github.com/openstack/fuel-library/blob/stable/8.0/deployment/puppet/openstack/manifests/ceilometer.pp#L201

In particular the problem is visible when Fuel wants to add the ceilometer
user to the libvirt group. This group does not exist since the
libvirt package provided by 6WIND uses the libvirtd group instead.

With this patch the plugin simply creates an additional 'libvirt' group to
avoid command failures.

Signed-off-by: Francesco Santoro <francesco.santoro@6wind.com>

Change-Id: I463d15f470bf97dd028020f3c7ba9e8e49ac4cb5
This commit is contained in:
Francesco Santoro 2016-08-23 16:10:43 +02:00
parent 661ba34a59
commit 2ac6b2387b
1 changed files with 5 additions and 1 deletions

View File

@ -43,9 +43,13 @@ if $ext_pack == true {
} ->
package { 'qemu':
ensure => 'latest',
}->
} ->
package { 'qemu-system-x86':
ensure => 'latest',
} ->
# workaround for bug https://bugs.launchpad.net/fuel/+bug/1603446 in Fuel 8
group { 'libvirt':
ensure => 'present',
}
}