Fix IPv6 in Active/Standby topology on CentOS

Avoid duplicated IPv6 VIP addresses on CentOS in Active/Standby mode,
Keepalived will set/unset the VIP address.

Story: 2005365
Task: 30340

Change-Id: I05b31ba628bafeefec36cc5c000dae1aefb63d67
(cherry picked from commit 951afb9a0a)
This commit is contained in:
Gregory Thiemonge 2019-04-02 14:24:53 +02:00
parent 8e3e8b1ff6
commit 7dc3cb975f
2 changed files with 6 additions and 0 deletions

View File

@ -52,7 +52,9 @@ PERSISTENT_DHCLIENT="1"
{%- endif %} {# end if vip_ipv6 #}
{%- endif %} {# end if vrrp_ip #}
{%- if topology == consts.TOPOLOGY_SINGLE -%}
{%- if vip_ipv6 %}
IPV6ADDR_SECONDARIES="{{ vip }}/{{ prefix }}"
{%- endif %}
{%- endif %}

View File

@ -0,0 +1,4 @@
---
fixes:
- |
Fixed duplicated IPv6 addresses in Active/Standby mode in CentOS amphorae.