Skip to content

Commit f88aa3a

Browse files
authored
[dualtor] Fix mux start failure due to pre operation timeout (sonic-net#22027)
[dualtor] Fix `mux` start failure due to pre operation timeout
1 parent 49146b8 commit f88aa3a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

files/build_templates/mux.service.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ StartLimitIntervalSec=1200
88
StartLimitBurst=3
99

1010
[Service]
11+
TimeoutStartSec=180
1112
User={{ sonicadmin_user }}
1213
ExecStartPre=/usr/local/bin/write_standby.py
1314
ExecStartPre=/usr/local/bin/mark_dhcp_packet.py

files/scripts/write_standby.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def tunnel_exists(self):
136136
tunnel_key_pattern = 'ASIC_STATE:SAI_OBJECT_TYPE_TUNNEL:*'
137137
return len(self.asic_db.keys('ASIC_DB', tunnel_key_pattern)) > 0
138138

139-
def wait_for_tunnel(self, interval=1, timeout=90):
139+
def wait_for_tunnel(self, interval=1, timeout=160):
140140
"""
141141
Waits until the IP-in-IP tunnel has been created
142142

0 commit comments

Comments
 (0)