Skip to content

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #9410

/assign sohankunkerkar

server: Fix network cleanup failures when NetNS path is empty

Fixes an issue where empty network namespace paths cause CNI teardown
failures, preventing pod deletion and creating stuck pods. This happens when
infra containers die, leaving NetNsPath() returning empty strings that CNI
plugins cannot handle.

The failure cascade: dead infra container → empty NetNS → CNI failure →
StopPodSandbox failure → stuck pod → systemd cgroup conflicts → new pod
creation failures. Observed in MicroShift environments.

Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com>
@openshift-ci openshift-ci bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Sep 19, 2025
@openshift-ci openshift-ci bot requested review from klihub and littlejawa September 19, 2025 22:54
Copy link
Member

@sohankunkerkar sohankunkerkar left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 19, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 19, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: openshift-cherrypick-robot, sohankunkerkar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 19, 2025
@codecov
Copy link

codecov bot commented Sep 20, 2025

Codecov Report

❌ Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.64%. Comparing base (4d2f569) to head (f95abe2).
⚠️ Report is 2 commits behind head on release-1.33.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.33    #9472      +/-   ##
================================================
- Coverage         47.94%   47.64%   -0.30%     
================================================
  Files               164      164              
  Lines             24204    24222      +18     
================================================
- Hits              11604    11541      -63     
- Misses            11458    11543      +85     
+ Partials           1142     1138       -4     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@openshift-merge-bot openshift-merge-bot bot merged commit c8e7df2 into cri-o:release-1.33 Sep 20, 2025
53 of 55 checks passed
@sohankunkerkar sohankunkerkar changed the title [release-1.33] server: Fix network cleanup failures when NetNS path is empty [OCPBUGS-58229][release-1.33] server: Fix network cleanup failures when NetNS path is empty Sep 27, 2025
@sohankunkerkar sohankunkerkar changed the title [OCPBUGS-58229][release-1.33] server: Fix network cleanup failures when NetNS path is empty [OCPBUGS-58229]:[release-1.33] server: Fix network cleanup failures when NetNS path is empty Sep 27, 2025
@haircommander
Copy link
Member

/cherry-pick release-1.32

@openshift-cherrypick-robot
Copy link
Author

@haircommander: new pull request created: #9617

Details

In response to this:

/cherry-pick release-1.32

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants