Skip to content

vrrp ipv6 instance remains in FAULT state after device bootup , when keepalived version is changed from 2.2.2 to 2.2.8 #2678

@Anj1Krish

Description

@Anj1Krish

Describe the bug
vrrp ipv6 instance remainsi n FAULT state after bootup , when keepalived version is changed from 2.2.2 to 2.2.8

To Reproduce
Configure ipv6 vrrp instance , and reboot the device

Expected behavior
The vrrp instance should become MASTER/BACKUP , instead remains in FAULT state

Keepalived version

Keepalived v2.2.8 (04/04,2023), git commit v2.2.7-154-g292b299e+

Copyright(C) 2001-2023 Alexandre Cassen, <acassen@gmail.com>

Built with kernel headers for Linux 6.6.0
Running on Linux 6.6.96-yocto-standard #1 SMP Tue Jul  8 12:56:33 UTC 2025
Distro:  distro 2.2.0 (scarthgap)

configure options: --build=x86_64-linux --host=x86_64-poky-linux --target=x86_64-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=<scrubbed>/recipe-sysroot --disable-static --enable-libnl --enable-snmp --with-init=SYSV--disable-libiptc --disable-snmp --enable-log-file --enable-json build_alias=x86_64-linux host_alias=x86_64-poky-linux target_alias=x86_64-poky-linux PKG_CONFIG_PATH=<scrubbed>/recipe-sysroot/usr/lib/pkgconfig:<scrubbed>/recipe-sysroot/usr/share/pkgconfig PKG_CONFIG_LIBDIR=<scrubbed>/recipe-sysroot/usr/lib/pkgconfig CC=ccache x86_64-poky-linux-gcc -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security --sysroot=<scrubbed>/recipe-sysroot CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map -fmacro-prefix-map=<scrubbed>/keepalived-2.2.8=/usr/src/debug/keepalived/2.2.8 -fdebug-prefix-map=<scrubbed>/keepalived-2.2.8=/usr/src/debug/keepalived/2.2.8 -fmacro-prefix-map=<scrubbed>/build=/usr/src/debug/keepalived/2.2.8 -fdebug-prefix-map=<scrubbed>/build=/usr/src/debug/keepalived/2.2.8 -fdebug-prefix-map=<scrubbed>/recipe-sysroot= -fmacro-prefix-map=<scrubbed>/recipe-sysroot= -fdebug-prefix-map=<scrubbed>/recipe-sysroot-native= -mno-avx512f LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map -fmacro-prefix-map=<scrubbed>/keepalived-2.2.8=/usr/src/debug/keepalived/2.2.8 -fdebug-prefix-map=<scrubbed>/keepalived-2.2.8=/usr/src/debug/keepalived/2.2.8 -fmacro-prefix-map=<scrubbed>/build=/usr/src/debug/keepalived/2.2.8 -fdebug-prefix-map=<scrubbed>/build=/usr/src/debug/keepalived/2.2.8 -fdebug-prefix-map=<scrubbed>/recipe-sysroot= -fmacro-prefix-map=<scrubbed>/recipe-sysroot= -fdebug-prefix-map=<scrubbed>/recipe-sysroot-native= -Wl,-z,relro,-z,now CPPFLAGS=

Config options:  LVS VRRP VRRP_AUTH VRRP_VMAC JSON OLD_CHKSUM_COMPAT FILE_LOGGING LOG_FILE_APPEND INIT=SYSV--disable-libiptc

System options:  VSYSLOG MEMFD_CREATE IPV6_MULTICAST_ALL IPV4_DEVCONF LIBNL3 RTA_ENCAP RTA_EXPIRES RTA_NEWDST RTA_PREF FRA_SUPPRESS_PREFIXLEN FRA_SUPPRESS_IFGROUP FRA_TUN_ID RTAX_CC_ALGO RTAX_QUICKACK RTEXT_FILTER_SKIP_STATS FRA_L3MDEV FRA_UID_RANGE RTAX_FASTOPEN_NO_COOKIE RTA_VIA FRA_PROTOCOL FRA_IP_PROTO FRA_SPORT_RANGE FRA_DPORT_RANGE RTA_TTL_PROPAGATE IFA_FLAGS LWTUNNEL_ENCAP_MPLS LWTUNNEL_ENCAP_ILA NET_LINUX_IF_H_COLLISION LIBIPTC_LINUX_NET_IF_H_COLLISION LIBIPVS_NETLINK IPVS_DEST_ATTR_ADDR_FAMILY IPVS_SYNCD_ATTRIBUTES IPVS_64BIT_STATS IPVS_TUN_TYPE IPVS_TUN_CSUM IPVS_TUN_GRE VRRP_IPVLAN IFLA_LINK_NETNSID GLOB_BRACE GLOB_ALTDIRFUNC INET6_ADDR_GEN_MODE VRF SO_MARK

Distro (please complete the following information):

  • Name:Yocto (Poky)
  • Version: 2.2.0 (Scarthgap)
  • Architecture: x86_64

Details of any containerisation or hosted service (e.g. AWS)
NA

Configuration file:

global_defs
{
  vrrp_version 3
  enable_script_security
  script_user root
  vrrp_netlink_cmd_rcv_bufs 2097152
  vrrp_netlink_monitor_rcv_bufs 2097152
}
vrrp_sync_group VI_1_100_v100
{
  group {
    VI_1_100_6_v100
    VI_1_100_4_v100
 }
}
vrrp_instance VI_1_100_6_v100
{
  interface v100
  virtual_router_id 1
  use_vmac
  garp_master_refresh 60
  priority 100
  advert_int 1
  virtual_ipaddress
  {
    1001::64
  }
}
vrrp_instance VI_1_100_4_v100
{
  interface v100
  virtual_router_id 1
  use_vmac
  garp_master_refresh 60
  priority 100
  advert_int 1
  virtual_ipaddress
  {
    100.1.1.100
  }
}
vrrp_instance VI_1_200_v200
{
  interface v200
  virtual_router_id 1
  use_vmac
  garp_master_refresh 60
  priority 100
  advert_int 1
  virtual_ipaddress
  {
    2001::100
  }
}
vrrp_instance VI_2_300_v300
{
  interface v300
  virtual_router_id 2
  use_vmac
  garp_master_refresh 60
  priority 100
  advert_int 1
  virtual_ipaddress
  {
    3001::100
  }
}

Notify and track scripts

NA

System Log entries

cat /var/log/keepalived.log
Fri Nov 28 10:21:10.292599462 2025: Starting Keepalived v2.2.8 (04/04,2023), git commit v2.2.7-154-g292b299e+
Fri Nov 28 10:21:10.292664620 2025: Running on Linux 6.6.96-yocto-standard #1 SMP Tue Jul  8 12:56:33 UTC 2025 (built for Linux 6.6.0)
Fri Nov 28 10:21:10.292706154 2025: Command line: '/usr/sbin/keepalived' '-f' '/etc/arc/vrrpd/keepalived.conf' '-P' '-D' '-m'
Fri Nov 28 10:21:10.292713705 2025:               '--log-file=/var/log/keepalived.log' '--flush-log-file' '--release-vips' '--log-detail'
Fri Nov 28 10:21:10.292846870 2025: Opening file '/etc/arc/vrrpd/keepalived.conf'.
Fri Nov 28 10:21:10.292867740 2025: Configuration file /etc/arc/vrrpd/keepalived.conf
Fri Nov 28 10:21:10.293771533 2025: NOTICE: setting config option max_auto_priority should result in better keepalived performance
Fri Nov 28 10:21:10.293888039 2025: Warning - keepalived has no configuration to run
Fri Nov 28 10:21:39.312816769 2025: Reloading ...
Fri Nov 28 10:21:39.312957912 2025: Opening file '/etc/arc/vrrpd/keepalived.conf'.
Fri Nov 28 10:21:39.312976738 2025: Configuration file /etc/arc/vrrpd/keepalived.conf
Fri Nov 28 10:21:39.313274005 2025: Starting VRRP child process, pid=14561
Fri Nov 28 10:21:39.537933257 2025: Startup complete
cat keepalived_vrrp.log
Fri Nov 28 10:21:39.313587522 2025: Registering Kernel netlink reflector
Fri Nov 28 10:21:39.313619912 2025: Registering Kernel netlink command channel
Fri Nov 28 10:21:39.315403277 2025: (VI_1_100_6_v100) the first IPv6 VIP address should be link local
Fri Nov 28 10:21:39.315430950 2025: Assigned address 100.1.1.1 for interface v100
Fri Nov 28 10:21:39.315439587 2025: Assigned address fe80::d276:8fff:fe66:b521 for interface v100
Fri Nov 28 10:21:39.316218803 2025: (VI_1_100_6_v100): Success creating VMAC interface vrrp.1
Fri Nov 28 10:21:39.316459691 2025: Assigned address fe80::d276:8fff:fe66:b521 for interface vrrp.1
Fri Nov 28 10:21:39.316753884 2025: (VI_1_100_4_v100): Success creating VMAC interface vrrp1.1
Fri Nov 28 10:21:39.316983523 2025: (VI_1_200_v200) the first IPv6 VIP address should be link local
Fri Nov 28 10:21:39.317002650 2025: Assigned address 200.1.1.1 for interface v200
Fri Nov 28 10:21:39.317251567 2025: (VI_1_200_v200): Success creating VMAC interface vrrp6.1
Fri Nov 28 10:21:39.317420651 2025: Assigned address fe80::d276:8fff:fe66:b521 for interface vrrp6.1
Fri Nov 28 10:21:39.317432241 2025: (VI_2_300_v300) the first IPv6 VIP address should be link local
Fri Nov 28 10:21:39.317646181 2025: (VI_2_300_v300): Success creating VMAC interface vrrp.2
Fri Nov 28 10:21:39.317824268 2025: Assigned address fe80::d276:8fff:fe66:b521 for interface vrrp.2
Fri Nov 28 10:21:39.317848938 2025: (VI_1_200_v200): entering FAULT state (interface v200 down)
Fri Nov 28 10:21:39.317853941 2025: (VI_2_300_v300): entering FAULT state (interface v300 down)
Fri Nov 28 10:21:39.317858531 2025: (VI_1_200_v200) entering FAULT state (no IPv6 address for interface) ---> no address 
Fri Nov 28 10:21:39.317862536 2025: (VI_2_300_v300) entering FAULT state (no IPv6 address for interface) ---> no address 
Fri Nov 28 10:21:39.317866725 2025: (VI_1_200_v200) entering FAULT state

Did keepalived coredump?

No 

Additional context
The issue is not seen with keepalived 2.2.2 version .

Netlink events :

netlink events for v100 :

2025-11-28T02:21:23.430751001(0.000272441) NETLINK Indication NEWLINK, len 1444, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 1002:broadcast,multicast, change ffffffff
2025-11-28T02:21:23.430988740(0.000228471) NETLINK Indication NEWLINK, len 1444, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 1002:broadcast,multicast, change 0
2025-11-28T02:21:23.431222388(0.000224751) NETLINK Indication NEWLINK, len 1444, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 1102:broadcast,multicast,promisc, change 100
2025-11-28T02:21:23.483434255(0.000169678) NETLINK Indication NEWADDR, len 80, nl_msg_flags , ifa_flags permanent,noprefixroute, seq 2530642013, pid 3103791942|ifname v100, addr
2025-11-28T02:21:23.699962997(0.000179116) NETLINK Indication NEWADDR, len 72, nl_msg_flags , ifa_flags tentative,permanent,noprefixroute, seq 0, pid 0|ifname v100, addr 1001::1
2025-11-28T02:21:23.895185675(0.000663552) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 11103:broadcast,multicast,promisc,up,lowerup, change 1
2025-11-28T02:21:23.895446162(0.000234080) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 1102:broadcast,multicast,promisc, change 1
2025-11-28T02:21:38.534910686(0.000539478) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 11103:broadcast,multicast,promisc,up,lowerup, change 1
2025-11-28T02:21:38.534935583(0.000015259) NETLINK Indication NEWLINK, len 740, flags , seq 0, pid 0| fam 10:fib_lookup, ifname v100, flags 11143:broadcast,multicast,promisc,up,running,lowerup, change 0
2025-11-28T02:21:38.535195008(0.000252815) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 11143:broadcast,multicast,promisc,up,running,lowerup, change 0
2025-11-28T02:21:39.316100511(0.000315278) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 11143:broadcast,multicast,promisc,up,running,lowerup, change 0
2025-11-28T02:21:39.392872081(0.000259156) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 11143:broadcast,multicast,promisc,up,running,lowerup, change 0
2025-11-28T02:21:39.393381348(0.000189748) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v100, flags 11143:broadcast,multicast,promisc,up,running,lowerup, change 0
2025-11-28T02:21:39.630499045(0.000740626) NETLINK Indication NEWADDR, len 80, nl_msg_flags , ifa_flags permanent, seq 0, pid 0|ifname v100, addr fe80::d276:8fff:fe66:b521
2025-11-28T02:21:39.758493197(0.000749638) NETLINK Indication NEWADDR, len 72, nl_msg_flags , ifa_flags permanent,noprefixroute, seq 0, pid 0|ifname v100, addr 1001::1
netlink events for v200 :

2025-11-28T02:21:23.431503311(0.000204869) NETLINK Indication NEWLINK, len 1444, flags , seq 0, pid 0| fam 0:route, ifname v200, flags 1002:broadcast,multicast, change ffffffff
2025-11-28T02:21:23.431798978(0.000223937) NETLINK Indication NEWLINK, len 1444, flags , seq 0, pid 0| fam 0:route, ifname v200, flags 1002:broadcast,multicast, change 0
2025-11-28T02:21:23.432029244(0.000215836) NETLINK Indication NEWLINK, len 1444, flags , seq 0, pid 0| fam 0:route, ifname v200, flags 1102:broadcast,multicast,promisc, change 100
2025-11-28T02:21:23.552747799(0.000212036) NETLINK Indication NEWADDR, len 80, nl_msg_flags , ifa_flags permanent,noprefixroute, seq 2530642013, pid 3166706502|ifname v200, addr
2025-11-28T02:21:23.749923043(0.000240412) NETLINK Indication NEWADDR, len 72, nl_msg_flags , ifa_flags tentative,permanent,noprefixroute, seq 0, pid 0|ifname v200, addr 2001::1
2025-11-28T02:21:23.972872454(0.000640072) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v200, flags 11103:broadcast,multicast,promisc,up,lowerup, change 1
2025-11-28T02:21:23.973233267(0.000334001) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v200, flags 1102:broadcast,multicast,promisc, change 1
2025-11-28T02:21:38.535479923(0.000273323) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v200, flags 11103:broadcast,multicast,promisc,up,lowerup, change 1
2025-11-28T02:21:39.394041371(0.000202326) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v200, flags 11103:broadcast,multicast,promisc,up,lowerup, change 0
2025-11-28T02:21:39.565871255(0.000044765) NETLINK Indication NEWLINK, len 740, flags , seq 0, pid 0| fam 10:fib_lookup, ifname v200, flags 11143:broadcast,multicast,promisc,up,running,lowerup, change 0
2025-11-28T02:21:39.566395136(0.000506843) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v200, flags 11143:broadcast,multicast,promisc,up,running,lowerup, change 0
2025-11-28T02:21:40.974567495(0.000830374) NETLINK Indication NEWADDR, len 80, nl_msg_flags , ifa_flags permanent, seq 0, pid 0|ifname v200, addr fe80::d276:8fff:fe66:b521
2025-11-28T02:21:41.294372912(0.000633470) NETLINK Indication NEWADDR, len 72, nl_msg_flags , ifa_flags permanent,noprefixroute, seq 0, pid 0|ifname v200, addr 2001::1
netlink events for v300:

2025-11-28T02:21:23.434662189(0.000320175) NETLINK Indication NEWLINK, len 1444, flags , seq 0, pid 0| fam 0:route, ifname v300, flags 1002:broadcast,multicast, change ffffffff
2025-11-28T02:21:23.435640709(0.000222288) NETLINK Indication NEWLINK, len 1444, flags , seq 0, pid 0| fam 0:route, ifname v300, flags 1002:broadcast,multicast, change 0
2025-11-28T02:21:23.458216182(0.000240339) NETLINK Indication NEWLINK, len 1444, flags , seq 0, pid 0| fam 0:route, ifname v300, flags 1102:broadcast,multicast,promisc, change 100
2025-11-28T02:21:23.778331113(0.000216153) NETLINK Indication NEWADDR, len 72, nl_msg_flags , ifa_flags tentative,permanent,noprefixroute, seq 0, pid 0|ifname v300, addr 3001::1
2025-11-28T02:21:24.121856455(0.000486345) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v300, flags 11103:broadcast,multicast,promisc,up,lowerup, change 1
2025-11-28T02:21:24.122190813(0.000321088) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v300, flags 1102:broadcast,multicast,promisc, change 1
2025-11-28T02:21:38.535797239(0.000307538) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v300, flags 11103:broadcast,multicast,promisc,up,lowerup, change 1
2025-11-28T02:21:39.394929360(0.000194486) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v300, flags 11103:broadcast,multicast,promisc,up,lowerup, change 0
2025-11-28T02:21:39.566416790(0.000014244) NETLINK Indication NEWLINK, len 740, flags , seq 0, pid 0| fam 10:fib_lookup, ifname v300, flags 11143:broadcast,multicast,promisc,up,running,lowerup, change 0
2025-11-28T02:21:39.566641142(0.000217735) NETLINK Indication NEWLINK, len 1448, flags , seq 0, pid 0| fam 0:route, ifname v300, flags 11143:broadcast,multicast,promisc,up,running,lowerup, change 0
2025-11-28T02:21:40.654536540(0.000771198) NETLINK Indication NEWADDR, len 72, nl_msg_flags , ifa_flags permanent,noprefixroute, seq 0, pid 0|ifname v300, addr 3001::1
2025-11-28T02:21:40.846541866(0.000792550) NETLINK Indication NEWADDR, len 80, nl_msg_flags , ifa_flags permanent, seq 0, pid 0|ifname v300, addr fe80::d276:8fff:fe66:b521

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions