You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two servers in keepalived vrrp instance; to add or remove IPs from virtual_ipaddress_excluded, reloading occurs regularly.
State changes are written to a statefile by notify_fifo_script, if the script exits, it writes "not running" to the file.
Problem:
Sometimes, after a reload, the statefile shows "not running", but keepalived is working and well. If reloading again, the statefile stays the same.
To Reproduce
Any steps necessary to reproduce the behaviour:
Install keepalived v2.2.8 from unstable branch to Debian 12.2 stable
Configure the VRRP instance including notify_fifo_script, virtual_ipaddress_excluded and fifo_write_vrrp_states_on_reload
Reload keepalived with or without new or removed vIPs
check if the statefile shows "not running"
Expected behavior
fifo_write_vrrp_states_on_reload should result in the current state being written to the statefile on reload, always. Even if some obscure situation results in the statefile failing, a repeated reload should correct the issue.
Additional context
I was pleased to see the added functionality for fifo notifying in v2.2.8 and installed it even though it was not considered debian stable yet. For the most part, it works and I am happy to have this feature, unfortunately, sometimes it fails.
The text was updated successfully, but these errors were encountered:
After further testing, the following pattern has shown itself:
A reload in BACKUP state works as expected, at least no change of the statefile is observed.
A reload in MASTER state changes the statefile to "not running", every single time.
Just a comment - it won't affect the issue - it should be garp_extra_if all 100. The square brackets ([]) in the man page indicate that the keyword is optional.
Describe the bug
Situation:
Two servers in keepalived vrrp instance; to add or remove IPs from virtual_ipaddress_excluded, reloading occurs regularly.
State changes are written to a statefile by notify_fifo_script, if the script exits, it writes "not running" to the file.
Problem:
Sometimes, after a reload, the statefile shows "not running", but keepalived is working and well. If reloading again, the statefile stays the same.
To Reproduce
Any steps necessary to reproduce the behaviour:
Expected behavior
fifo_write_vrrp_states_on_reload should result in the current state being written to the statefile on reload, always. Even if some obscure situation results in the statefile failing, a repeated reload should correct the issue.
Keepalived version
Distro (please complete the following information):
Details of any containerisation or hosted service (e.g. AWS)
VMware on-premises
Configuration file:
Notify and track scripts
notify_fifo_state.sh.txt
System Log entries
logfile.txt
Did keepalived coredump?
No.
Additional context
I was pleased to see the added functionality for fifo notifying in v2.2.8 and installed it even though it was not considered debian stable yet. For the most part, it works and I am happy to have this feature, unfortunately, sometimes it fails.
The text was updated successfully, but these errors were encountered: