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 bitoku and klihub 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
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

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
Copy link

codecov bot commented Sep 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.08%. Comparing base (d91a449) to head (bbd9d03).
⚠️ Report is 2 commits behind head on release-1.34.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.34    #9471      +/-   ##
================================================
- Coverage         67.16%   67.08%   -0.09%     
================================================
  Files               202      202              
  Lines             28025    28043      +18     
================================================
- Hits              18824    18812      -12     
- Misses             7629     7657      +28     
- Partials           1572     1574       +2     
🚀 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 941066d into cri-o:release-1.34 Sep 19, 2025
49 of 51 checks passed
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.

2 participants