-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portchannel with subinterfaces lead to orchagent crash #4142
Comments
Thanks for reporting the issue. I just noticed your post. When adding the parent port oid, we did not check the type of the parent port, whether it is of type PORT (physical port) or LAG (port channel). This should cause the sairedis metadata validation to fail. When the parent port is LAG, we should use m_lag_id not m_port_id, which is 0 (SAI_NULL_OBJECT_ID) in the LAG Port object case. |
…ort is LAG (#1235) Fix to sonic-net/sonic-buildimage#4142 Add vs test on lag sub interface based on unconventional lag naming "PortChannel1.20" to fit the interface name within 15 characters Signed-off-by: Wenda Ni [email protected]
…ort is LAG (#1235) Fix to sonic-net/sonic-buildimage#4142 Add vs test on lag sub interface based on unconventional lag naming "PortChannel1.20" to fit the interface name within 15 characters Signed-off-by: Wenda Ni [email protected]
Description
Orchagent crash if configuration contain Portchannel in routed mode with subinterfaces.
Steps to reproduce the issue:
Describe the results you received:
After configuration apply orchagent crashs and the following errors are appear in syslog:
Describe the results you expected:
Portchannel with subinterfaces should be created, same as Ethernet with subinterfaces.
The text was updated successfully, but these errors were encountered: