You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However orchagent might not have processed the previous DEL message. Thus when a SET comes the optimization results in DEL getting ignored and thus VRF not getting updated.
This results in the ip2me route for the Loopback getting programmed in the default vrf
Description
Sometimes when adding a loopback interface to a non default VRF ip2me route gets added in default VRF. This is due to the below handling
In normal scenario when VRF is bound to interface, there will be an interface del followed by setting VRF. Below is an example
However in some scenarios the DEL message is missed.
Due to the below check the VRF for the interface is not updated
sonic-swss/orchagent/intfsorch.cpp
Line 840 in e71eb2d
Intfmgrd when it receives del it updates appl_db and state_db
sonic-swss/cfgmgr/intfmgr.cpp
Line 1052 in e71eb2d
Due to intfmgr removing del from state_db, the CLI proceeds to do set command
https://github.com/nvidia-sonic/sonic-utilities/blob/649e76192a23d4c1ff22d752000a9229b8ffbb9d/config/main.py#L5671
However orchagent might not have processed the previous DEL message. Thus when a SET comes the optimization results in DEL getting ignored and thus VRF not getting updated.
This results in the ip2me route for the Loopback getting programmed in the default vrf
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: