aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker/ovn_northd.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/profile/pacemaker/ovn_northd.pp')
-rw-r--r--manifests/profile/pacemaker/ovn_northd.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/profile/pacemaker/ovn_northd.pp b/manifests/profile/pacemaker/ovn_northd.pp
index 4f39a7b..7b081b7 100644
--- a/manifests/profile/pacemaker/ovn_northd.pp
+++ b/manifests/profile/pacemaker/ovn_northd.pp
@@ -61,6 +61,12 @@ class tripleo::profile::pacemaker::ovn_northd (
tries => $pcs_tries,
node => $::hostname,
}
+
+ # Allow non local bind, because all the ovsdb-server's running in the
+ # cluster try to open a TCP socket on the VIP.
+ ensure_resource('sysctl::value', 'net.ipv4.ip_nonlocal_bind', {
+ 'value'=> 1,
+ })
}
if $step >= 3 and downcase($::hostname) == $pacemaker_master {