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

[DualToR] Handle race condition between tunnel_decap and mux orchestrator #2397

Merged
merged 1 commit into from
Jul 26, 2022
Merged

Conversation

devpatha
Copy link
Contributor

What I did
Change orch list to make sure mux_orch and mux_cb_orch are placed after tunnel_decap_orch

Why I did it
handlePeerSwitch returns false because mux tunnel not yet created, and that results in create_nh_tunnel failure.
This moves ports into error state.

How I verified it
Verified that after changing the order ports don't move to error state.

Details if related
Creating a new PR for #2113

PR #2114 has already been merged into 202012 branch

@prsunny
Copy link
Collaborator

prsunny commented Jul 26, 2022

thanks @devpatha for the quick turnaround.

@prsunny prsunny merged commit 75fc965 into sonic-net:master Jul 26, 2022
yxieca pushed a commit that referenced this pull request Jul 28, 2022
…ator (#2397)

*Change orch list to make sure mux_orch and mux_cb_orch are placed after tunnel_decap_orch
preetham-singh pushed a commit to preetham-singh/sonic-swss that referenced this pull request Aug 6, 2022
…ator (sonic-net#2397)

*Change orch list to make sure mux_orch and mux_cb_orch are placed after tunnel_decap_orch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants