Repository navigation
[FIX]: tentatively fix concurrent access to locked CNI directory (#3783) - #4165
Merged
Merged
Conversation
apostasie
force-pushed
the
fix-2025-04-locking
branch
2 times, most recently
from
April 25, 2025 22:37
cdb61a0 to
c6e182d
Compare
Contributor
Author
|
Geez... |
Contributor
Author
(╯°□°)╯︵ ┻━┻ |
apostasie
force-pushed
the
fix-2025-04-locking
branch
5 times, most recently
from
April 26, 2025 00:34
f504964 to
9595514
Compare
Signed-off-by: apostasie <[email protected]>
apostasie
force-pushed
the
fix-2025-04-locking
branch
from
April 26, 2025 01:02
9595514 to
7e41456
Compare
apostasie
marked this pull request as ready for review
April 26, 2025 02:23
This was referenced Apr 26, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #3783 for discussion.
TL;DR: based on investigation above, the hypothesis is that other systems may add locks over the CNI directory.
Since we do as well, this seem to deadlock Cilium.
This patch is moving our lock for CNIEnv to a sub-directory (which appears to be the least disruptive option - see unhappy comment below :-) ), which should allow Cilium (and others) to go through.
HOWEVER:
Nevertheless, it feels like the investigation in #3783 is conclusive enough, and this should only enhance the situation at worse (even if it does not fix everything).
Suggesting we consider for inclusion in 2.0.5.