The network manager deletes and re-adds IPv6 addresses.
Both NetworkManager and Keepalived are deployed in the environment.
NetworkManager version:1.26
keepalived version:2.0.18
Keepalived works in master/backup mode. Each network adapter is configured to obtain an IPv6 address using DHCPv6, and a static IPv6 address is configured in the ifcfg file using IPV6ADDR_SECONDRIES.
After the master/backup switchover is performed on the Keepalived node, the backup node becomes the master node. The Keepalived node adds a VIP through the netlink. In this case, the NM deletes and adds the IPv6 static address and VIP again, triggering the keepalived master/backup switchover again.
Check the code and find that the nm_platform_ip6_address_sync function checks and compares the IPv6 addresses, and deletes and re-adds the IP addresses to maintain the order. I'm not sure what this is for.
The logic in the latest version seems to have similar problems.