Add neutron_keepalived_no_track variable

Until neutron bug is not fixed, we should control whether to use no_track
for keepalived or not, based on the distro version
We should probably rollback it once upstream bug got fixed and bumped.

Depends-On: https://review.opendev.org/c/764976
Change-Id: I539dfd90576b34693eb8e7aef9f97e64739700ae
Related-Bug: #1896506
(cherry picked from commit 24d64bbd52a11d82c8891f2bc77e666b7ddd35d1)
This commit is contained in:
Dmitriy Rabotyagov 2020-09-22 11:43:45 +03:00 committed by Jonathan Rosser
parent 5c425bdbf6
commit acef9066af
2 changed files with 7 additions and 0 deletions

View File

@ -380,6 +380,11 @@ neutron_local_ip: 127.0.0.1
### L3 Agent Plugin Configuration
###
# Enable/disable no_track for keepalived (available for keepalived >2.0)
# NOTE(noonedeadpunk): Is is done until the merge and backport of the fix for
# https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1896506
neutron_keepalived_no_track: False
# L3HA configuration options
neutron_ha_vrrp_auth_type: PASS
neutron_l3_ha_net_cidr: 169.254.192.0/18

View File

@ -21,6 +21,8 @@ ha_vrrp_auth_type = {{ neutron_ha_vrrp_auth_type }}
# Metadata
enable_metadata_proxy = True
keepalived_use_no_track = {{ neutron_keepalived_no_track }}
# L3 plugins
{% set l3_agent_plugins = [] %}