Page MenuHomePhabricator

Keeping VRRP transition-script native behaviour and adding stop-script
Open, Requires assessmentPublic


When we restart vrrp in current implementation its transition script behaviour can confuse, because we store VRRP states.
In keepalived also exist stop state, which can help in some situation when we delete vrrp configuration or restarting it.
Below introduced diagram when keepalived run scripts

For correct working stop script we need to modify systemd unit, adding KillMode=process to [Service] section.

We also can reduce noise in log if adding global definition script user, it matter only for log output in our case.
As for operational command show vrrp, after disabling instance/group, we have got displayed old state with active time, and we need clear temporary files after displaying data, otherwise it can confused .


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible