Merge "ovn HA: Enable ip_nonlocal_bind sysctl flag"
This commit is contained in:
@@ -71,6 +71,13 @@ class tripleo::profile::pacemaker::ovn_dbs_bundle (
|
||||
}
|
||||
|
||||
if $step >= 3 {
|
||||
|
||||
# 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 $pacemaker_master {
|
||||
$ovndb_servers_resource_name = 'ovndb_servers'
|
||||
$ovndb_servers_ocf_name = 'ovn:ovndb-servers'
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user