-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
v1.11 backport: In service recovery, don't skip if one of the service recovery fails #23922
v1.11 backport: In service recovery, don't skip if one of the service recovery fails #23922
Conversation
Hi @jaredledvina Have you tried testing with this fix? Furthermore, we should also have #23749 to fix the leaked entries. /cc @hemanthmalla |
Commit 5834ae50bff7d911932e1d38f912d2ee9014d4c8 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
Hi @aditighag - Thanks, yeah we've deployed #23858 & this change which fixes the issue from two different angles. I don't know if I'd describe it as side-steps but, it significantly helps prevent any duplicate entries in the map from ballooning up the backends map with orphaned entries whenever the agent is restarted. This change along with your fix resolves similar problems from two directions. I think it's worth having this backported even with 23858 merged as on restart any map with duplicate entries is likely to hit this issue. Hope that makes sense! |
5834ae5
to
d478b18
Compare
Sure, I'm fine with this backporting PR if required. It's missing the usual format though. Typically developers start with nominating PRs for backport. Here is the complete workflow - https://docs.cilium.io/en/v1.13/contributing/release/backports/#creating-the-backports-branch. It's missing the upstream commit tag in the commit description. @hemanthmalla IIUC, we still need your fix so that backends can be reused - #23749, right? |
@jaredledvina I nominated the original PR for backports, and fixed up the commit description locally by checking out this PR. However, I'm not able to push to your fork. Can you fix up the commit description with - [upstream commit https://github.com/cilium/cilium/commit/018856602b7637b8ae1c796f4ed02fe1bbeb5905], and push the revision to this PR? |
/test-backport-1.11 |
d478b18
to
0a55833
Compare
@aditighag - Sorry for the delay, we've been having an exciting 2 weeks over here. Just pushed the updated commit message, hope that's correct lemme know if I can help with anything else here. Thanks! |
@jaredledvina There are failures. I compared the backport line by line, it looks fine to me. Can you rebase your PR? I was able to rebase it locally without any conflicts. Also, please sign-off the backport commit. You can take a look at some of the other backport PRs for reference. |
0a55833
to
af2d6ff
Compare
/test-backport-1.11 Job 'Cilium-PR-K8s-1.17-kernel-4.9' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment Job 'Cilium-PR-K8s-1.21-kernel-4.9' failed: Click to show.Test Name
Failure Output
If it is a flake and a GitHub issue doesn't already exist to track it, comment |
@jaredledvina The backport PR is good to go once you address this. Just add a sign-off line below the original author's sign-off. We need not run the entire suite again. |
[upstream commit cilium@0188566] Reduce number of connections interrupted due to svc/backend ID changes if restoration fails Fixed by not return error instead logging it and continue. Logging number of failures and success in backend restoration with new variables Signed-off-by: Gaurav Yadav <gaurav.dev.iiitm@gmail.com> Signed-off-by: Jared Ledvina <jared.ledvina@datadoghq.com>
af2d6ff
to
56417a8
Compare
Sorry about that @aditighag, I'm used to my git config automatically adding that and missed that it didn't work here. Should be signed-off correctly now. |
This is a backport of #18422 as without it, issues like #23551 can be greatly exacerbated when agents are restarted (i.e. any daemonset update). I directly cherry-picked
018856602b7637b8ae1c796f4ed02fe1bbeb5905
to the v1.11 branch and only had a small merge conflict inpkg/logging/logfields/logfields.go
which was easily fixable.description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.
Fixes: N/A