Skip to content

Fixed set mtu for deleted subintf due to late notification#4

Closed
EdenGri wants to merge 2 commits intomasterfrom
Fixed__set_mtu_for_deleted_subintf_due_to_late_notif
Closed

Fixed set mtu for deleted subintf due to late notification#4
EdenGri wants to merge 2 commits intomasterfrom
Fixed__set_mtu_for_deleted_subintf_due_to_late_notif

Conversation

@EdenGri
Copy link
Owner

@EdenGri EdenGri commented Dec 7, 2022

What I did

Ignores errors on the set MTU command for subinterface when the subinterface state is not OK.

Why I did it

A race condition between the portmgrd and the intfmgrd sometimes causes running a set MTU command on a deleted subinterface.
The logs and the error:

INFO swss#supervisord: intfmgrd Cannot find device "Ethernet32.58"
ERR swss#intfmgrd: :- main: Runtime error: /sbin/ip link set "Ethernet32.58" mtu "9100" :
INFO swss#supervisord 2022-11-08 05:53:33,057 INFO exited: intfmgrd (exit status 255; not expected)

How I verified it

Run the test_loopback_action_reload test and saw no errors in the logs.

Details if related

@EdenGri EdenGri closed this Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants