Skip to content

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

Closed
EdenGri wants to merge 1 commit intomasterfrom
fixed_set_admin_status_for_deleted_subintf_due_to_late_notification
Closed

Fixed set admin_status for deleted subintf due to late notification#7
EdenGri wants to merge 1 commit intomasterfrom
fixed_set_admin_status_for_deleted_subintf_due_to_late_notification

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