Skip to content

[release-4.21] OCPBUGS-86003: telco-ran: Pre-create /run/netns bindmount so it propagates to the container-mount-namespace#764

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

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

Conversation

@openshift-cherrypick-robot
Copy link
Copy Markdown

This is an automated cherry-pick of #763

/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 16, 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: 1094d631-697a-46cc-83a2-eef6c8a4700c

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-85962 has been cloned as Jira Issue OCPBUGS-86003. Will retitle bug to link to clone.
/retitle [release-4.21] OCPBUGS-86003: 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 #763

/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.21] OCPBUGS-85962: telco-ran: Pre-create /run/netns bindmount so it propagates to the container-mount-namespace [release-4.21] OCPBUGS-86003: telco-ran: Pre-create /run/netns bindmount so it propagates to the container-mount-namespace May 16, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Collaborator

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

  • expected dependent Jira Issue OCPBUGS-85962 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is MODIFIED 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 #763

/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

/cherry-pick release-4.20

@openshift-cherrypick-robot
Copy link
Copy Markdown
Author

@lack: once the present PR merges, I will cherry-pick it on top of release-4.20 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-4.20

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.

@lack
Copy link
Copy Markdown
Member

lack commented May 16, 2026

/approve

@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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 16, 2026
@lack
Copy link
Copy Markdown
Member

lack commented May 16, 2026

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 16, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit 800b78a into openshift-kni:release-4.21 May 16, 2026
3 checks passed
@openshift-ci-robot
Copy link
Copy Markdown
Collaborator

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

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

Details

In response to this:

This is an automated cherry-pick of #763

/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: #765

Details

In response to this:

/cherry-pick release-4.20

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