Skip to content

Conversation

HadrienPatte
Copy link
Member

Check context cancellation before treating accept() errors as fatal during operator, daemon, and clustermesh-apiserver shutdown. This removes these error logs on pod shutdown:

one-shot job errored: accept failed: accept unix /var/run/cilium/shell.sock: use of closed network connection

@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 Aug 27, 2025
@HadrienPatte
Copy link
Member Author

/test

@HadrienPatte HadrienPatte marked this pull request as ready for review August 27, 2025 12:10
@HadrienPatte HadrienPatte requested a review from a team as a code owner August 27, 2025 12:10
@HadrienPatte HadrienPatte requested a review from pippolo84 August 27, 2025 12:10
Copy link
Member

@pippolo84 pippolo84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment left inline

@pippolo84 pippolo84 added the release-note/misc This PR makes changes that have no direct user impact. label Aug 28, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Aug 28, 2025
Check context cancellation before treating accept() errors as fatal during operator, daemon, and clustermesh-apiserver shutdown. This removes these error logs on pod shutdown:

```
one-shot job errored: accept failed: accept unix /var/run/cilium/shell.sock: use of closed network connection
```

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
@HadrienPatte HadrienPatte force-pushed the pr/HadrienPatte/shell branch from a68b693 to 56c3519 Compare August 29, 2025 13:42
@HadrienPatte
Copy link
Member Author

/test

@HadrienPatte HadrienPatte requested a review from pippolo84 August 29, 2025 17:50
Copy link
Member

@pippolo84 pippolo84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@pippolo84 pippolo84 added this pull request to the merge queue Sep 1, 2025
Merged via the queue into main with commit b7acb51 Sep 1, 2025
347 of 348 checks passed
@pippolo84 pippolo84 deleted the pr/HadrienPatte/shell branch September 1, 2025 09:51
@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 Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants