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

[202012][intfmgrd] reach reconciled state at start when there are no interfaces configuration to process #1703

Merged

Conversation

stepanblyschak
Copy link
Contributor

Signed-off-by: Stepan Blyschak [email protected]

What I did

If there is no pending configuration intfmgrd should reach reconciled state immediately. Same does for example vlanmgrd.

Why I did it

fdbsyncd waits till intfmgrd reaches reconciled state otherwise exits with exception about timeout. As a result sanity checkers complain about that.

How I verified it

I tested it on the switch by running warm-reboot and observed no fdbsyncd failure.
Also I wrote a simple test for intfmgrd warm restart when there are no interfaces in config_db.

Details if related

@stepanblyschak stepanblyschak changed the title [intfmgrd] reach reconciled state at start when there are no interfaces configuration to process [202012][intfmgrd] reach reconciled state at start when there are no interfaces configuration to process Apr 12, 2021
@liat-grozovik
Copy link
Collaborator

liat-grozovik commented Apr 12, 2021

@yxieca please note that this PR is against 202012 as cherry pick to 202012 was not possible: #1695

@liat-grozovik liat-grozovik requested a review from prsunny April 12, 2021 13:46
@liat-grozovik liat-grozovik merged commit ac4596a into sonic-net:202012 Apr 13, 2021
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.

4 participants