Increase wait_for_tunnel() timeout to 90s (#14279)
Why I did it Orchagent sometimes take additional time to execute Tunnel tasks. This cause write_standby script to error out and mux state machines are not initialized. It results in show mux status missing some ports in output. Mar 13 20:36:52.337051 m64-tor-0-yy41 INFO systemd[1]: Starting MUX Cable Container... Mar 13 20:37:52.480322 m64-tor-0-yy41 ERR write_standby: Timed out waiting for tunnel MuxTunnel0, mux state will not be written Mar 13 20:37:58.983412 m64-tor-0-yy41 NOTICE swss#orchagent: :- doTask: Tunnel(s) added to ASIC_DB. How I did it Increase timeout from 60s to 90s How to verify it Verified that mux state machine is initialized and show mux status has all needed ports in it.
This commit is contained in:
parent
6e43b5c515
commit
d74055e12c
@ -136,7 +136,7 @@ class MuxStateWriter(object):
|
||||
tunnel_key_pattern = 'ASIC_STATE:SAI_OBJECT_TYPE_TUNNEL:*'
|
||||
return len(self.asic_db.keys('ASIC_DB', tunnel_key_pattern)) > 0
|
||||
|
||||
def wait_for_tunnel(self, interval=1, timeout=60):
|
||||
def wait_for_tunnel(self, interval=1, timeout=90):
|
||||
"""
|
||||
Waits until the IP-in-IP tunnel has been created
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user