Merge "Disable vrrp healthchecks by default"

This commit is contained in:
Zuul 2021-05-20 12:47:32 +00:00 committed by Gerrit Code Review
commit e33d2a7cf3
2 changed files with 12 additions and 7 deletions

View File

@ -412,13 +412,18 @@ options:
access. The charm will go into a blocked state if this is attempted.
keepalived-healthcheck-interval:
type: int
default: 30
default: 0
description: |
By default all HA routers will check their external network gateway
by sending a ping and if that fails they trigger a vrrp transition. This
option defines how frequently this check is performed. Setting this value
to 0 will disable the healthchecks. Note that this only applies when
using l3ha and dvr_snat.
Specifies the frequency (in seconds) at which HA routers will check
their external network gateway by performing an ICMP ping between the
virtual routers. When the ping check fails, this will trigger the HA
routers to failover to another node. A value of 0 will disable this
check. This setting only applies when using l3ha and dvr_snat.
.
WARNING: Enabling the health checks should be done with caution as it
may lead to rapid failovers of HA routers. ICMP pings are low priority
and may be dropped or take longer than the 1 second afforded by neutron,
which leads to routers failing over to other nodes.
of-inactivity-probe:
type: int
default: 10

View File

@ -275,7 +275,7 @@ class OVSPluginContextTest(CharmTestCase):
'nsg_log_output_base': None,
'nsg_log_rate_limit': None,
'nsg_log_burst_limit': 25,
'keepalived_healthcheck_interval': 30,
'keepalived_healthcheck_interval': 0,
'of_inactivity_probe': 10,
'disable_mlockall': False,
}