Revert "Add replication_probe_interval for ovsdbs"
it broke OVB in master Closes-Bug: #1866031 This reverts commit 5b5291423a04e324a3075caaf07620e7b0a14ac0. Change-Id: Id4ec674ecd18bed02034714c2da103933b4e0b42
This commit is contained in:
parent
ac76abf7b1
commit
9c05cdf97f
@ -96,11 +96,6 @@
|
|||||||
# as MASTER_IP; set to no when using external LB VIP.
|
# as MASTER_IP; set to no when using external LB VIP.
|
||||||
# Defaults to 'yes'
|
# Defaults to 'yes'
|
||||||
#
|
#
|
||||||
# [*replication_probe_interval*]
|
|
||||||
# (Optional) probe interval for ovsdb-server. It configure probe interval for connection for ovsdb-server when it is
|
|
||||||
# in backup mode and connects to the active ovsdb-server for replication
|
|
||||||
# Defaults to 60000
|
|
||||||
#
|
|
||||||
|
|
||||||
class tripleo::profile::pacemaker::ovn_dbs_bundle (
|
class tripleo::profile::pacemaker::ovn_dbs_bundle (
|
||||||
$ovn_dbs_docker_image = hiera('tripleo::profile::pacemaker::ovn_dbs_bundle::ovn_dbs_docker_image', undef),
|
$ovn_dbs_docker_image = hiera('tripleo::profile::pacemaker::ovn_dbs_bundle::ovn_dbs_docker_image', undef),
|
||||||
@ -121,7 +116,6 @@ class tripleo::profile::pacemaker::ovn_dbs_bundle (
|
|||||||
$ca_file = undef,
|
$ca_file = undef,
|
||||||
$dbs_timeout = hiera('tripleo::profile::pacemaker::ovn_dbs_bundle::dbs_timeout', 60),
|
$dbs_timeout = hiera('tripleo::profile::pacemaker::ovn_dbs_bundle::dbs_timeout', 60),
|
||||||
$listen_on_master_ip_only = hiera('tripleo::profile::pacemaker::ovn_dbs_bundle::listen_on_master_ip_only', 'yes'),
|
$listen_on_master_ip_only = hiera('tripleo::profile::pacemaker::ovn_dbs_bundle::listen_on_master_ip_only', 'yes'),
|
||||||
$replication_probe_interval = hiera('tripleo::profile::pacemaker::ovn_dbs_bundle::replication_probe_interval', 60000),
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
if $::hostname == downcase($bootstrap_node) {
|
if $::hostname == downcase($bootstrap_node) {
|
||||||
@ -205,7 +199,7 @@ class tripleo::profile::pacemaker::ovn_dbs_bundle (
|
|||||||
$ovn_dbs_vip_norm = normalize_ip_for_uri($ovn_dbs_vip)
|
$ovn_dbs_vip_norm = normalize_ip_for_uri($ovn_dbs_vip)
|
||||||
$resource_params = "master_ip=${ovn_dbs_vip_norm} nb_master_port=${nb_db_port} \
|
$resource_params = "master_ip=${ovn_dbs_vip_norm} nb_master_port=${nb_db_port} \
|
||||||
sb_master_port=${sb_db_port} manage_northd=yes inactive_probe_interval=180000 \
|
sb_master_port=${sb_db_port} manage_northd=yes inactive_probe_interval=180000 \
|
||||||
listen_on_master_ip_only=${listen_on_master_ip_only} inactive_probe_interval_to_master=${replication_probe_interval}"
|
listen_on_master_ip_only=${listen_on_master_ip_only}"
|
||||||
$ovn_dbs_location_rule = {
|
$ovn_dbs_location_rule = {
|
||||||
resource_discovery => 'exclusive',
|
resource_discovery => 'exclusive',
|
||||||
score => 0,
|
score => 0,
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
features:
|
|
||||||
- |
|
|
||||||
Add posibilities to configure replication_probe_interval for ovsdb-server.
|
|
||||||
It configure probe interval for connection for ovsdb-server when it is
|
|
||||||
in backup mode and connects to the active ovsdb-server for replication
|
|
Loading…
x
Reference in New Issue
Block a user