Skip to content

[release-4.22] OCPBUGS-85962: telco-ran: Pre-create /run/netns bindmount so it propagates to the container-mount-namespace#763

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift-kni:release-4.22from
openshift-cherrypick-robot:cherry-pick-762-to-release-4.22
May 16, 2026
Merged

[release-4.22] OCPBUGS-85962: telco-ran: Pre-create /run/netns bindmount so it propagates to the container-mount-namespace#763
openshift-merge-bot[bot] merged 1 commit into
openshift-kni:release-4.22from
openshift-cherrypick-robot:cherry-pick-762-to-release-4.22

Conversation

@openshift-cherrypick-robot
Copy link
Copy Markdown

This is an automated cherry-pick of #762

/assign lack

…ntainer-mount-namespace

This closes a race between running `ip netns add` inside the
container-mount-namespace namespace and running it outside of the
container-mount-namespace namespace.

The cause of the race is that the /run/netns/ bindmount created by `ip
netns add` is created with rshared properties, so the external call
would shadow the internal call any time the internal call occurs first.
Forcing the call to happen on the outside ensures any subsequent
internal calls will simply reuse the existing bindmount (as intended).

Signed-off-by: Jim Ramsay <jramsay@redhat.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 5b096758-8f25-4124-9aed-c954661ae0d8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci-robot
Copy link
Copy Markdown
Collaborator

@openshift-cherrypick-robot: Jira Issue OCPBUGS-83562 has been cloned as Jira Issue OCPBUGS-85962. Will retitle bug to link to clone.
/retitle [release-4.22] OCPBUGS-85962: telco-ran: Pre-create /run/netns bindmount so it propagates to the container-mount-namespace

Details

In response to this:

This is an automated cherry-pick of #762

/assign lack

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci Bot changed the title [release-4.22] OCPBUGS-83562: telco-ran: Pre-create /run/netns bindmount so it propagates to the container-mount-namespace [release-4.22] OCPBUGS-85962: telco-ran: Pre-create /run/netns bindmount so it propagates to the container-mount-namespace May 15, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Collaborator

@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-85962, which is invalid:

  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
  • expected dependent Jira Issue OCPBUGS-83562 to be in one of the following states: MODIFIED, ON_QA, VERIFIED, but it is POST instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

This is an automated cherry-pick of #762

/assign lack

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 openshift-eng/jira-lifecycle-plugin repository.

@lack
Copy link
Copy Markdown
Member

lack commented May 16, 2026

/approve

@lack
Copy link
Copy Markdown
Member

lack commented May 16, 2026

/lgtm

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 16, 2026

[APPROVALNOTIFIER] This PR is APPROVED

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

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels May 16, 2026
@lack
Copy link
Copy Markdown
Member

lack commented May 16, 2026

/jira refresh

@openshift-ci-robot
Copy link
Copy Markdown
Collaborator

@lack: This pull request references Jira Issue OCPBUGS-85962, which is valid. The bug has been moved to the POST state.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note text is set and does not match the template
  • dependent bug Jira Issue OCPBUGS-83562 is in the state MODIFIED, which is one of the valid states (MODIFIED, ON_QA, VERIFIED)
  • dependent Jira Issue OCPBUGS-83562 targets the "5.0.0" version, which is one of the valid target versions: 5.0.0
  • bug has dependents
Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@lack
Copy link
Copy Markdown
Member

lack commented May 16, 2026

/cherry-pick release-4.21

@openshift-merge-bot openshift-merge-bot Bot merged commit 379e456 into openshift-kni:release-4.22 May 16, 2026
3 checks passed
@openshift-ci-robot
Copy link
Copy Markdown
Collaborator

@openshift-cherrypick-robot: Jira Issue OCPBUGS-85962: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-85962 has been moved to the MODIFIED state.

Details

In response to this:

This is an automated cherry-pick of #762

/assign lack

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-cherrypick-robot
Copy link
Copy Markdown
Author

@lack: new pull request created: #764

Details

In response to this:

/cherry-pick release-4.21

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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants