-
Notifications
You must be signed in to change notification settings - Fork 543
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
[portsyncd] when no ports on config db on init - continue and set PortConfigDone #1861
[portsyncd] when no ports on config db on init - continue and set PortConfigDone #1861
Conversation
…ConfigDone Signed-off-by: tomeri <[email protected]>
/azpw run |
/azp run |
Commenter does not have sufficient privileges for PR 1861 in repo Azure/sonic-swss |
i have these failures on the swss checkers: vs tests: it looks not related to my change and I also saw the same errors on this PR (the PR is not related to our PR): so maybe we need to rerun these tests |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
the code changes are not related to the failures at all:
my changes are related to init stage only when we are starting the system with zero ports, we continue to send portConfigDone |
@prsunny was this test fixed/removed to allow other PRs to get in? |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@prsunny could you please help to review and merge? |
How is this different from #1808 ? |
in this change the function "handlePortConfigFromConfigDB" is continuing when we have no ports on the system and the PortConfigDone flag is set on App db |
@prsunny can you please signoff? |
…ConfigDone (sonic-net#1861) *continue the execution of handlePortConfigFromConfigDB when no ports on config db -> continue and set PortConfigDone *function handlePortConfigFromConfigDB is no longer boolean - change it to void Signed-off-by: tomeri <[email protected]>
[Submodule advance sonic-swss] Include below commits to master image: Cache routes for single nexthop for faster retrieval sonic-net/sonic-swss#1922 Reduce route count for route perf test (sonic-net/sonic-swss#1928) [pytest]: Re-use DVS container when possible (sonic-net/sonic-swss#1816) [PORTSYNCD] when no ports on config db on init, continue and set Port… (sonic-net/sonic-swss#1861) [gearbox] Add gearbox unit test (sonic-net/sonic-swss#1920) Reverted skipped test_buffer_dynamic test cases (sonic-net/sonic-swss#1937) Revert "[buffer orch] Bugfix: Don't query counter SAI_BUFFER_POOL_STA… (sonic-net/sonic-swss#1945)
…-net#1861) * [TH3] Skip Control Plane Assist on WARM Reboot for TH3 HWSKUs
Signed-off-by: tomeri [email protected]
What I did
Why I did it
when there are no ports on config db the PortConfigDone on APP db wasn't set and dynamic add/remove of ports after init stage is damaged.
How I verified it
started with no ports configured and verified that PortConfigDone is set on APP db
Details if related