-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix: Add support for changing the vxlan tunnel port after initial installation #38583
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
Conversation
Commit e816afc does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
e816afc
to
f42bca8
Compare
f42bca8
to
303f4fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also double checked that the test is currently failing on main, thanks!
/test |
Commit 9ccd725 does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
9ccd725
to
5a28307
Compare
Could you please remove the merge commit, squash the two commits with the actual changes and rebase onto main? |
5a28307
to
eca8546
Compare
Done |
eca8546
to
d5c86b0
Compare
/test |
d5c86b0
to
e39ff93
Compare
Shortened the commit message |
e39ff93
to
25f1a15
Compare
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Left one nit.
25f1a15
to
8c1d327
Compare
The nit is addresses, thanks a lot guys |
/test |
Is there anything I can do to unblock this PR? |
@rapour We seem to be getting a persistent failure in the following CI test: https://github.com/cilium/cilium/actions/runs/14726773148/job/41429620511 Can you rebase this PR off |
Signed-off-by: Reza Abbasalipour <reza.abbasalipour@canonical.com>
Head branch was pushed to by a user without write access
8c1d327
to
3bedbb4
Compare
/test |
Fixes: #38581
The
setupVxlanDevice
runsensureDevice
before checking for any configuration change. One of the steps defined inensureDevice
is to set up the vxlan interface. If the vxlan interface conflicts with another interface like having the same destination port, setting a different port will not resolve the issue since thesetupVxlanDevice
still fails throughensureDevice
before even checking the port change. This fix suggestssetupVxlanDevice
checks for destination port change and recreate the interface before trying to bring the interface up.