Keepalived sends notifications to one-failover daemon via the /run/keepalived/vrrp_notify_fifo.sock named pipe, basing on that one-failover enabled or disables VR's features. Theoretically, if a feature requires VIPs (or other conditions) to be present it may fail or be misconfigured if keepalived doesn't set them quick enough.
We can prevent that by adding ready action to keepalived's openrc script and then reuse it in the one-failover logic. The action would report if live config matches config requested in context variables.
Keepalived sends notifications to one-failover daemon via the
/run/keepalived/vrrp_notify_fifo.sock
named pipe, basing on that one-failover enabled or disables VR's features. Theoretically, if a feature requires VIPs (or other conditions) to be present it may fail or be misconfigured if keepalived doesn't set them quick enough.We can prevent that by adding
ready
action to keepalived's openrc script and then reuse it in the one-failover logic. The action would report if live config matches config requested in context variables.Example: