-
-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One of the vrrp instance remains in FAULT state after reload #2357
Comments
All other vrrp instances and vrrp devices are seen up on keepalived . Eg: grep -r vrrp3.4 keepalived_vrrp.log |
Could solve this by setting the rcv buffer size in config file as mentioned in keepalived man page The following options are only needed for large configurations, where either
|
Changed the value in config file for following variables |
Describe the bug
One of the vrrp instance remains down , after reload. The vrrp device is in down state in keepalived, eventhough actual status is UP To recover the issue , need to toggle the vrrp linux device(vrrp5.4 in this case) created.
To Reproduce
Reload with the given configs (intermittent)
Expected behavior
All the vrrp instances should be up , since the underlying interfaces are UP.
Keepalived version
Keepalived v2.0.19 (10/19,2019)
Copyright(C) 2001-2019 Alexandre Cassen, acassen@gmail.com
Built with kernel headers for Linux 4.15.7
Running on Linux 4.14.67-yocto-standard #1 SMP Tue Nov 14 22:05:10 UTC 2023
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=/sandbox-local/bamboo/bamboo-all-agents-build/xml-data/build-dir/CR-MBAXOS2343-BLD/E9-ASM/srcBuild/build/tmp/work/corei7-64-poky-linux/keepalived/2.0.19-r0/recipe-sysroot --disable-libiptc --enable-log-file --enable-json --disable-static json-c-devel --enable-libnl --disable-snmp --with-init=SYSV build_alias=x86_64-linux host_alias=x86_64-poky-linux target_alias=x86_64-poky-linux PKG_CONFIG_PATH=/sandbox-local/bamboo/bamboo-all-agents-build/xml-data/build-dir/CR-MBAXOS2343-BLD/E9-ASM/srcBuild/build/tmp/work/corei7-64-poky-linux/keepalived/2.0.19-r0/recipe-sysroot/usr/lib/pkgconfig:/sandbox-local/bamboo/bamboo-all-agents-build/xml-data/build-dir/CR-MBAXOS2343-BLD/E9-ASM/srcBuild/build/tmp/work/corei7-64-poky-linux/keepalived/2.0.19-r0/recipe-sysroot/usr/share/pkgconfig PKG_CONFIG_LIBDIR=/sandbox-local/bamboo/bamboo-all-agents-build/xml-data/build-dir/CR-MBAXOS2343-BLD/E9-ASM/srcBuild/build/tmp/work/corei7-64-poky-linux/keepalived/2.0.19-r0/recipe-sysroot/usr/lib/pkgconfig CC=x86_64-poky-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/sandbox-local/bamboo/bamboo-all-agents-build/xml-data/build-dir/CR-MBAXOS2343-BLD/E9-ASM/srcBuild/build/tmp/work/corei7-64-poky-linux/keepalived/2.0.19-r0/recipe-sysroot CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/sandbox-local/bamboo/bamboo-all-agents-build/xml-data/build-dir/CR-MBAXOS2343-BLD/E9-ASM/srcBuild/build/tmp/work/corei7-64-poky-linux/keepalived/2.0.19-r0=/usr/src/debug/keepalived/2.0.19-r0 -fdebug-prefix-map=/sandbox-local/bamboo/bamboo-all-agents-build/xml-data/build-dir/CR-MBAXOS2343-BLD/E9-ASM/srcBuild/build/tmp/work/corei7-64-poky-linux/keepalived/2.0.19-r0/recipe-sysroot= -fdebug-prefix-map=/sandbox-local/bamboo/bamboo-all-agents-build/xml-data/build-dir/CR-MBAXOS2343-BLD/E9-ASM/srcBuild/build/tmp/work/corei7-64-poky-linux/keepalived/2.0.19-r0/recipe-sysroot-native= LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CPPFLAGS= CPP=x86_64-poky-linux-gcc -E --sysroot=/sandbox-local/bamboo/bamboo-all-agents-build/xml-data/build-dir/CR-MBAXOS2343-BLD/E9-ASM/srcBuild/build/tmp/work/corei7-64-poky-linux/keepalived/2.0.19-r0/recipe-sysroot -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2
Config options: IPTABLES_CMD LVS VRRP VRRP_AUTH JSON OLD_CHKSUM_COMPAT FIB_ROUTING FILE_LOGGING LOG_FILE_APPEND
System options: PIPE2 SIGNALFD INOTIFY_INIT1 VSYSLOG EPOLL_CREATE1 IPV4_DEVCONF IPV6_ADVANCED_API 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_OIFNAME RTA_TTL_PROPAGATE IFA_FLAGS IP_MULTICAST_ALL LWTUNNEL_ENCAP_MPLS LWTUNNEL_ENCAP_ILA NET_LINUX_IF_H_COLLISION LIBIPTC_LINUX_NET_IF_H_COLLISION IPVS_DEST_ATTR_ADDR_FAMILY IPVS_SYNCD_ATTRIBUTES IPVS_64BIT_STATS VRRP_VMAC VRRP_IPVLAN IFLA_LINK_NETNSID CN_PROC SOCK_NONBLOCK SOCK_CLOEXEC O_PATH GLOB_BRACE INET6_ADDR_GEN_MODE VRF SO_MARK SCHED_RT SCHED_RESET_ON_FORK
Distro (please complete the following information):
Details of any containerisation or hosted service (e.g. AWS)
If keepalived is being run in a container or on a hosted service, provide full details
Configuration file:
If any notify or track scripts are in use, please provide copies of them
Full keepalived system log entries from when keepalived started
Additional context
I can see the netlink notification for vrrp5.4 , But looks like keepalived didnt receive/process the same and hence the vrrp interface remains as down in keepalived. The linux device is showing UP as well.
ifconfig vrrp5.4
vrrp5.4 Link encap:Ethernet HWaddr 00:00:5e:00:01:04
UP BROADCAST RUNNING MULTICAST MTU:2020 Metric:1
RX packets:15856 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:354432 (346.1 KiB) TX bytes:0 (0.0 B)
Netlink notification for vrrp 5.4 which was seen down in keepalived.
2023-11-06T20:16:47.239757312(0.001282522) NETLINK Indication NEWLINK, len 1324, flags , seq 0, pid 0| fam 0:route, ifname vrrp5.4, flags 1002:broadcast,multicast, change ffffffff
2023-11-06T20:16:47.240646518(0.000712356) NETLINK Indication NEWLINK, len 1352, flags , seq 0, pid 0| fam 0:route, ifname vrrp5.4, flags 1002:broadcast,multicast, change 0
2023-11-06T20:16:47.259572527(0.000676314) NETLINK Indication NEWLINK, len 1352, flags , seq 0, pid 0| fam 0:route, ifname vrrp5.4, flags 11043:broadcast,multicast,up,running,lowerup, change 1 -> This notification is received on other process. But why keepalived is not receiving/processing this which would have brought the interface (vrrp5.4) up by calling "interface_up" api?
The text was updated successfully, but these errors were encountered: