Skip to content

Commit 496011b

Browse files
authored
fix(ns-ha): remove vrrp_down_timer_adverts option (#1408)
Revert to default value, as per Davide and Filippo request. This change may reintroduce the flapping problem.
1 parent 9fac4f9 commit 496011b

File tree

1 file changed

+0
-4
lines changed
  • packages/ns-api/files

1 file changed

+0
-4
lines changed

packages/ns-api/files/ns.ha

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,6 @@ def init_local(role, primary_node_ip, backup_node_ip, virtual_ip, lan_interface,
473473
u.set('keepalived', 'lan_delays', 'down_delay', '1')
474474

475475
if role == 'primary':
476-
u.set('keepalived', 'globals', 'vrrp_down_timer_adverts', '5')
477-
478476
u.set('keepalived', 'ha_sender', 'track_script')
479477
u.set('keepalived', 'ha_sender', 'name', 'sender')
480478
u.set('keepalived', 'ha_sender', 'value', 'ha_sync')
@@ -525,8 +523,6 @@ def init_local(role, primary_node_ip, backup_node_ip, virtual_ip, lan_interface,
525523
with open('/etc/conntrackd/conntrackd.conf', 'w') as file:
526524
file.write(conntrack_conf)
527525
else:
528-
u.set('keepalived', 'globals', 'vrrp_down_timer_adverts', '5')
529-
530526
u.set('keepalived', 'ha_receiver', 'track_script')
531527
u.set('keepalived', 'ha_receiver', 'name', 'receiver')
532528
u.set('keepalived', 'ha_receiver', 'value', 'ha_sync')

0 commit comments

Comments
 (0)