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

Fix clone event caching due to missing pod info #2899

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

tpapagian
Copy link
Member

@tpapagian tpapagian commented Sep 9, 2024

The eventcache API provides 2 handlers.

These are:
RetryInternal -> called to setup process information
Retry -> called to setup pod information

In the case of clone events, we used to have en empty implementation on the Retry handler. This results in an issue with missing pod information which is described in detail here: #2902

This patch provides the proper Retry implementation to handle also those cases.

FIXES: #2902

Fix clone event eventcache retry handler when missing pod info.

@tpapagian tpapagian added the release-note/misc This PR makes changes that have no direct user impact. label Sep 9, 2024
The eventcache API provides 2 handlers.

These are:
RetryInternal -> called to setup process information
Retry -> called to setup pod information

In the case of clone events, we used to have en empty implementation on
the Retry handler. This results in an issue with missing pod information
which is described in detail here: #2902

This patch provides the proper Retry implementation to handle also those
cases.

FIXES: #2902

Signed-off-by: Anastasios Papagiannis <[email protected]>
@tpapagian tpapagian added release-note/bug This PR fixes an issue in a previous release of Tetragon. and removed release-note/misc This PR makes changes that have no direct user impact. labels Sep 10, 2024
@tpapagian tpapagian marked this pull request as ready for review September 10, 2024 08:19
@tpapagian tpapagian requested a review from a team as a code owner September 10, 2024 08:19
@kkourt kkourt merged commit 20bba35 into main Sep 10, 2024
45 checks passed
@kkourt kkourt deleted the pr/apapag/fix_clone_caching branch September 10, 2024 11:37
@kkourt kkourt added needs-backport/1.0 This PR needs backporting to 1.0 needs-backport/1.1 This PR needs backporting to 1.1 needs-backport/1.2 This PR needs backporting to 1.2 labels Sep 10, 2024
@tpapagian tpapagian added backport-done/1.1 The backport of this PR is complete backport-done/1.2 PR backport done. backport-done/1.0 and removed needs-backport/1.1 This PR needs backporting to 1.1 needs-backport/1.2 This PR needs backporting to 1.2 needs-backport/1.0 This PR needs backporting to 1.0 labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.0 backport-done/1.1 The backport of this PR is complete backport-done/1.2 PR backport done. release-note/bug This PR fixes an issue in a previous release of Tetragon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing pod info from process_kprobe events
4 participants