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

daemon/cmd: improve stale cilium endpoint error handling. #22600

Conversation

tommyp1ckles
Copy link
Contributor

@tommyp1ckles tommyp1ckles commented Dec 7, 2022

Avoid error logging on no-op cleanup situations to avoid breaking CI.

Previously, if stale CEP cleanup was attempted and the CiliumEndpoint was already gone it would log an error.
This would go on to fail CI, on tests enforcing zero error logs.
In the case where the error is a k8serrors.NotFound, we don't need to consider this an error. This change differentiates between the two cases and logs info if its the no-op case.

Signed-off-by: Tom Hadlaw tom.hadlaw@isovalent.com

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Dec 7, 2022
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Dec 7, 2022
@tommyp1ckles tommyp1ckles marked this pull request as ready for review December 7, 2022 18:00
@tommyp1ckles tommyp1ckles requested a review from a team as a code owner December 7, 2022 18:00
@tommyp1ckles tommyp1ckles marked this pull request as draft December 7, 2022 18:34
@tommyp1ckles
Copy link
Contributor Author

Going to convert this to a draft/CI debugging PR for the time being. The frequency of these errors in CI is concerning.

@tommyp1ckles
Copy link
Contributor Author

/test-1.16-4.9

@tommyp1ckles
Copy link
Contributor Author

/test

@aanm aanm removed the kind/community-contribution This was a contribution made by a community member. label Dec 7, 2022
@tommyp1ckles
Copy link
Contributor Author

/test-1.16-4.9

2 similar comments
@tommyp1ckles
Copy link
Contributor Author

/test-1.16-4.9

@tommyp1ckles
Copy link
Contributor Author

/test-1.16-4.9

@tommyp1ckles
Copy link
Contributor Author

/test

1 similar comment
@tommyp1ckles
Copy link
Contributor Author

/test

@tommyp1ckles
Copy link
Contributor Author

/test-1.16-4.9

@tommyp1ckles
Copy link
Contributor Author

/test-1.24-5.4

@tommyp1ckles
Copy link
Contributor Author

/test-1.25-4.19

@tommyp1ckles
Copy link
Contributor Author

/test-1.26-net-next

@tommyp1ckles
Copy link
Contributor Author

/test

@tommyp1ckles
Copy link
Contributor Author

/test-1.16-4.9

@tommyp1ckles tommyp1ckles marked this pull request as ready for review December 8, 2022 21:36
@tommyp1ckles
Copy link
Contributor Author

/test-1.16-4.9

@tommyp1ckles tommyp1ckles marked this pull request as draft December 8, 2022 21:37
@tommyp1ckles
Copy link
Contributor Author

/test

@tommyp1ckles tommyp1ckles reopened this Dec 8, 2022
@tommyp1ckles
Copy link
Contributor Author

/test

@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Dec 8, 2022
@tommyp1ckles tommyp1ckles deleted the pr/tommyp1ckles/improve-stale-cep-cleanup-error-handling branch December 21, 2022 20:30
@joestringer joestringer added backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. and removed backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. labels Dec 22, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.13 to Backport done to v1.10 in 1.13.0-rc4 Dec 22, 2022
@aditighag
Copy link
Member

@tommyp1ckles This file doesn't exist in <= v1.12. Removing the needs-backport/* labels for those changes for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. backport-done/1.12 The backport for Cilium 1.12.x for this PR is done. backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. release-blocker/1.13 This issue will prevent the release of the next version of Cilium. release-note/ci This PR makes changes to the CI.
Projects
No open projects
1.13.0-rc4
Backport done to v1.13
Development

Successfully merging this pull request may close these issues.

None yet

5 participants