Skip to content

Conversation

bimmlerd
Copy link
Member

@bimmlerd bimmlerd commented Nov 12, 2024

Once this PR is merged, a GitHub action will update the labels of these PRs:

 35890

Fixes: #35080

[ upstream commit 0bb676d ]

This trigger may be, well, triggered when reacting to a DNS request --
even when the agent is starting up. This could lead to a deadlock, as
the datapath is not able to write the endpoint header file until the
agent is started, but the agent cannot finish starting as the endpoint
is locked.

The fix for this is to remove the unnecessary trigger initialization on
endpoint parsing; we will always start it on first regeneration.

This catches a case missed in #34059, which only fixed the new-endpoint
case.

Signed-off-by: Casey Callendrello <cdc@isovalent.com>
Signed-off-by: David Bimmler <david.bimmler@isovalent.com>
@bimmlerd bimmlerd added kind/backports This PR provides functionality previously merged into master. backport/1.16 This PR represents a backport for Cilium 1.16.x of a PR that was merged to main. labels Nov 12, 2024
@bimmlerd bimmlerd requested a review from squeed November 12, 2024 09:17
@bimmlerd bimmlerd changed the title v1.16 Backports 2024-11-12 [v1.16] backport of #35890 (endpoint: don't start DNS history trigger when parsing endpoint) Nov 12, 2024
@bimmlerd bimmlerd marked this pull request as ready for review November 12, 2024 09:37
@bimmlerd bimmlerd requested a review from a team as a code owner November 12, 2024 09:37
@squeed squeed added the release-blocker/1.16 This issue will prevent the release of the next version of Cilium. label Nov 12, 2024
@bimmlerd
Copy link
Member Author

/test-backport-1.16

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 12, 2024
@squeed squeed added this pull request to the merge queue Nov 12, 2024
Merged via the queue into v1.16 with commit ce744df Nov 12, 2024
283 checks passed
@squeed squeed deleted the pr/v1.16-backport-2024-11-12-10-15 branch November 12, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.16 This PR represents a backport for Cilium 1.16.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-blocker/1.16 This issue will prevent the release of the next version of Cilium.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants