Skip to content
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

Fixed set admin_status for deleted subintf due to late notification #7

Conversation

EdenGri
Copy link
Owner

@EdenGri EdenGri commented Feb 7, 2023

What I did
Handled a race condition in intfmgrd which tries to immediately apply an admin_status SET notif after a DEL causing it to crash
Why I did it
Ignores errors on the set admin_status command for subinterface when the subinterface state is not OK.

How I verified it

Details if related
This PR reference to older PR that fix the same issue in portmgr: sonic-net#2431

@vivekrnv
Copy link

vivekrnv commented Feb 7, 2023

the fix is handled in intfmgrd and not portmgrd, the description can be updated.

@vivekrnv
Copy link

vivekrnv commented Feb 7, 2023

Was the DEL notification seen because the user deleted the iface?

@EdenGri
Copy link
Owner Author

EdenGri commented Feb 7, 2023

Was the DEL notification seen because the user deleted the iface?

A DEL notification arrives after some reboot of the system (cold reboot/config reload).

@vivekrnv
Copy link

vivekrnv commented Feb 7, 2023

config

I see, Thanks

@EdenGri EdenGri closed this Feb 8, 2023
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.

3 participants