Vrrp transition script master fails

On 1.2.8

The error message:

vyos-vrrp-wrapper: Transition script /config/scripts/vrrp-master.sh failed, exit status: 1

The script that runs when transitioning into master.
Any clues on why this would fail?

#!/bin/vbash
source /opt/vyatta/etc/functions/script-template
configure
set protocols ospf redistribute static metric 3
delete protocols bgp 65511 peer-group gropu1 shutdown
delete protocols bgp 65511 peer-group group2 shutdown
commit
exit
restart vpn
reset ip bgp all

The backup script is similar:

#!/bin/vbash
source /opt/vyatta/etc/functions/script-template
restart vpn
reset ip bgp all
configure
set protocols ospf redistribute static metric 12
set protocols bgp 65511 peer-group group1 shutdown
set protocols bgp 65511 peer-group group2 shutdown
commit
exit

Try to change it to:

run restart vpn
run reset ip bgp all
exit

This also seems like a typo

Not a typo, but I just sanitized config before posting :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.