Page MenuHomeVyOS Platform

Keeping VRRP transition-script native behaviour and adding stop-script
Closed, ResolvedPublic


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

VRRP_states_notify.png (2×5 px, 104 KB)

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

Event Timeline

Unknown Object (User) created this task.Dec 16 2019, 9:57 PM
Unknown Object (User) added a comment.Dec 17 2019, 2:53 PM

T1350 T1820
Adding mentioned tasks which can solved

Unknown Object (User) added a subscriber: dmbaturin.Mar 22 2020, 2:55 PM

@dmbaturin can you look 2 PR for implement option with ignore old transaction-script states?
Can we add this in 1.2.6?

dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.