New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-22749: Adjust NAD name to "network-xxx-xxx" when creating #13568
OCPBUGS-22749: Adjust NAD name to "network-xxx-xxx" when creating #13568
Conversation
Adjust new NetworkAttachmentDefinition name to be generated automatically and displayed in the Name input when creating a new NAD, to prevent creating a shared NAD between isolated namespaces. Add the popover to inform the user that "Networks are not project-bound. Using the same name creates a shared NAD." Fixes https://issues.redhat.com/browse/OCPBUGS-22749
@hstastna: This pull request references Jira Issue OCPBUGS-22749, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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. |
@avivtur @metalice @pcbailey @upalatucci @vojtechszocs please review |
1 similar comment
@avivtur @metalice @pcbailey @upalatucci @vojtechszocs please review |
/jira refresh |
@hstastna: This pull request references Jira Issue OCPBUGS-22749, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (ycui@redhat.com), skipping review request. In response to this:
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. |
/lgtm |
/retest |
@hstastna: all tests passed! Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
@rawagner Hi Rasto, could I ask you for approving this PR, please? 😊 |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hstastna, metalice, rawagner 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 |
@hstastna: Jira Issue OCPBUGS-22749: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-22749 has been moved to the MODIFIED state. In response to this:
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. |
Fix included in accepted release 4.15.0-0.nightly-2024-02-12-213938 |
Fixes:
https://issues.redhat.com/browse/OCPBUGS-22749
Analysis / Root cause:
By using the Create network attachment definition dialog, an administrator may create two NADs in two different namespaces that would be connected to a single L2 network. There is nothing in the UI that indicates that namespace isolation is breached.
Solution Description:
Adjust new NetworkAttachmentDefinition name to be generated automatically and displayed in the Name input when creating a new NAD, to prevent creating a shared NAD between isolated namespaces. Add the popover ("?" icon) to inform the user that Networks are not project-bound. Using the same name creates a shared NAD.
Screen shots / Gifs for design review:
Before:
After: