Install libibverbs
Needed to fix the beaker tests issue where the OVS output shows errors. See comment in code for more details. Reported upstream: https://bugzilla.redhat.com/show_bug.cgi?id=1658141 Change-Id: Ic0090a9950552c33a79018ebf40a2c0d0260c667
This commit is contained in:
parent
f1fe9d7791
commit
e375da24b9
@ -103,6 +103,7 @@ class openstack_integration::repos {
|
|||||||
ceph_mirror => $ceph_mirror,
|
ceph_mirror => $ceph_mirror,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if $::osfamily == 'RedHat' {
|
||||||
# NOTE(tobias-urdin): The python-requests RPM package has a package dependency
|
# NOTE(tobias-urdin): The python-requests RPM package has a package dependency
|
||||||
# which upstream requests package does not support so it outputs a warning which
|
# which upstream requests package does not support so it outputs a warning which
|
||||||
# messes up output (warning is printed to stdout) an causes some providers that
|
# messes up output (warning is printed to stdout) an causes some providers that
|
||||||
@ -111,12 +112,21 @@ class openstack_integration::repos {
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1620221
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1620221
|
||||||
# This is added here so we have the latest of this package in both integration and
|
# This is added here so we have the latest of this package in both integration and
|
||||||
# beaker testing.
|
# beaker testing.
|
||||||
if $::osfamily == 'RedHat' {
|
|
||||||
package { 'python-chardet':
|
package { 'python-chardet':
|
||||||
ensure => 'installed',
|
ensure => 'installed',
|
||||||
provider => 'rpm',
|
provider => 'rpm',
|
||||||
source => 'http://mirror.centos.org/centos/7/cloud/x86_64/openstack-rocky/python2-chardet-3.0.4-7.el7.noarch.rpm',
|
source => 'http://mirror.centos.org/centos/7/cloud/x86_64/openstack-rocky/python2-chardet-3.0.4-7.el7.noarch.rpm',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# NOTE(tobias-urdin): Install libibverbs to fix an issue where OVS outputs errors
|
||||||
|
# that causes the puppet-openvswitch module to fail parsing the output.
|
||||||
|
# This issue does not occur in integration testing but only beaker tests since some
|
||||||
|
# other package (probably nova) causes this package to be installed, or the yum upgrade
|
||||||
|
# part in integration catches it.
|
||||||
|
# Reported upstream: https://bugzilla.redhat.com/show_bug.cgi?id=1658141
|
||||||
|
package { 'libibverbs':
|
||||||
|
ensure => 'present',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user