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. Change-Id: I539dfd90576b34693eb8e7aef9f97e64739700ae Related-Bug: #1896506
This commit is contained in:
parent
c4d5649b11
commit
24d64bbd52
@ -392,6 +392,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: "{{ _neutron_keepalived_no_track | default(True) }}"
|
||||
|
||||
# L3HA configuration options
|
||||
neutron_ha_vrrp_auth_type: PASS
|
||||
neutron_l3_ha_net_cidr: 169.254.192.0/18
|
||||
|
@ -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 = [] %}
|
||||
|
||||
|
@ -104,3 +104,5 @@ neutron_remove_distro_packages:
|
||||
neutron_oslomsg_amqp1_distro_packages:
|
||||
- libsasl2-modules
|
||||
- sasl2-bin
|
||||
|
||||
_neutron_keepalived_no_track: "{{ (ansible_distribution_major_version is version('20', '>=') or ansible_os_family | lower == 'debian') }}"
|
||||
|
@ -87,3 +87,5 @@ neutron_oslomsg_amqp1_distro_packages:
|
||||
- cyrus-sasl-lib
|
||||
- cyrus-sasl-plain
|
||||
- cyrus-sasl-md5
|
||||
|
||||
_neutron_keepalived_no_track: "{{ (ansible_distribution_major_version is version('8', '>=')) }}"
|
||||
|
Loading…
Reference in New Issue
Block a user