Skip to content
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-39226: Enable the use of Linux Bridge as the ovs default port connection #4545

Conversation

wizhaoredhat
Copy link
Contributor

@wizhaoredhat wizhaoredhat commented Aug 21, 2024

The linux bridge can be configured to add a virtual switch between one or many ports. This can be done by a simple machine config that adds:
"bridge=br0:enpf0,enpf2 ip=br0:dhcp"
to the the kernel command line options which will be processed by dracut.

The use case of adding such a virtual bridge for simple IEEE802.1 switching is to support PCIe devices that act as co-processors in a baremetal server. For example:

    --------         ---------------------
    | Host |  PCIe   |    Co-processor   |
    |  eth0|<------->|enpf0 <-br0-> enpf2|<---> network
    |      |         |                   |
    --------         ---------------------

This co-processor could be a "DPU" network interface card. Thus the co-processor can be part of the same underlay network as the cluster and pods can be scheduled on the Host and the Co-processor. This allows for pods to be offloaded to the co-processor for scaling workloads.

The linux bridge can be configured to add a virtual switch between one
or many ports. This can be done by a simple machine config that adds:
  "bridge=br0:enpf0,enpf2 ip=br0:dhcp"
to the the kernel command line options which will be processed by
dracut.

The use case of adding such a virtual bridge for simple IEEE802.1
switching is to support PCIe devices that act as co-processors in a
baremetal server. For example:

--------         ---------------------
| Host |  PCIe   |    Co-processor   |
|  eth0|<------->|enpf0 <-br0-> enpf2|<---> network
|      |         |                   |
--------         ---------------------

This co-processor could be a "DPU" network interface card. Thus the
co-processor can be part of the same underlay network as the cluster and
pods can be scheduled on the Host and the Co-processor. This allows for
pods to be offloaded to the co-processor for scaling.

Signed-off-by: William Zhao <wizhao@redhat.com>
@wizhaoredhat
Copy link
Contributor Author

/cc @jcaamano

@openshift-ci openshift-ci bot requested a review from jcaamano August 21, 2024 21:01
@wizhaoredhat
Copy link
Contributor Author

/retest

@bn222
Copy link

bn222 commented Aug 22, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 22, 2024
@wizhaoredhat
Copy link
Contributor Author

/retest

@jcaamano
Copy link
Contributor

/lgtm

@wizhaoredhat
Copy link
Contributor Author

/retest

@wizhaoredhat
Copy link
Contributor Author

@yuqi-zhang How do I get the acknowledge-critical-fixes-only, approved labels?

The acknowledge-critical-fixes-only label looks strange for pushing a change to master.

@wizhaoredhat
Copy link
Contributor Author

/retitle NO-JIRA: Enable the use of Linux Bridge as the ovs default port connection

@openshift-ci openshift-ci bot changed the title Enable the use of Linux Bridge as the ovs default port connection NO-JIRA: Enable the use of Linux Bridge as the ovs default port connection Aug 26, 2024
@openshift-ci-robot
Copy link
Contributor

@wizhaoredhat: This pull request explicitly references no jira issue.

In response to this:

The linux bridge can be configured to add a virtual switch between one or many ports. This can be done by a simple machine config that adds:
"bridge=br0:enpf0,enpf2 ip=br0:dhcp"
to the the kernel command line options which will be processed by dracut.

The use case of adding such a virtual bridge for simple IEEE802.1 switching is to support PCIe devices that act as co-processors in a baremetal server. For example:

   --------         ---------------------
   | Host |  PCIe   |    Co-processor   |
   |  eth0|<------->|enpf0 <-br0-> enpf2|<---> network
   |      |         |                   |
   --------         ---------------------

This co-processor could be a "DPU" network interface card. Thus the co-processor can be part of the same underlay network as the cluster and pods can be scheduled on the Host and the Co-processor. This allows for pods to be offloaded to the co-processor for scaling workloads.

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-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 26, 2024
@yuqi-zhang
Copy link
Contributor

@wizhaoredhat the label can be applied by almost anyone I think (or maybe just repo owners), see the email titled Enabling acknowledge-critical-fixes-only label requirement in aos-devel for explanation.

I can certainly apply this label but since this is a no-jira PR, that normally indicates a trivial change or doc update that doesn't affect much and is not urgent to merge. Is this a feature or a bugfix instead? If so we should probably link a Jira to properly context.

@wizhaoredhat
Copy link
Contributor Author

@yuqi-zhang good point. I think this a feature that can be tested. Would this be an OCP BUG. I can create this.

@yuqi-zhang
Copy link
Contributor

Based on your description I think either could work. I suggest opening an OCPBUGS card if you want to backport this to previous versions (current master would be 4.18) or a feature card if you do not plan to backport.

@wizhaoredhat
Copy link
Contributor Author

/retitle OCPBUGS-39226: Enable the use of Linux Bridge as the ovs default port connection

@openshift-ci openshift-ci bot changed the title NO-JIRA: Enable the use of Linux Bridge as the ovs default port connection OCPBUGS-39226: Enable the use of Linux Bridge as the ovs default port connection Aug 29, 2024
@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Aug 29, 2024
@openshift-ci-robot
Copy link
Contributor

@wizhaoredhat: This pull request references Jira Issue OCPBUGS-39226, which is invalid:

  • expected the bug to target the "4.18.0" version, but no target version was set

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.

In response to this:

The linux bridge can be configured to add a virtual switch between one or many ports. This can be done by a simple machine config that adds:
"bridge=br0:enpf0,enpf2 ip=br0:dhcp"
to the the kernel command line options which will be processed by dracut.

The use case of adding such a virtual bridge for simple IEEE802.1 switching is to support PCIe devices that act as co-processors in a baremetal server. For example:

   --------         ---------------------
   | Host |  PCIe   |    Co-processor   |
   |  eth0|<------->|enpf0 <-br0-> enpf2|<---> network
   |      |         |                   |
   --------         ---------------------

This co-processor could be a "DPU" network interface card. Thus the co-processor can be part of the same underlay network as the cluster and pods can be scheduled on the Host and the Co-processor. This allows for pods to be offloaded to the co-processor for scaling workloads.

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.

@wizhaoredhat
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Aug 29, 2024
@openshift-ci-robot
Copy link
Contributor

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

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @anuragthehatter

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.

@wizhaoredhat
Copy link
Contributor Author

Based on your description I think either could work. I suggest opening an OCPBUGS card if you want to backport this to previous versions (current master would be 4.18) or a feature card if you do not plan to backport.

@yuqi-zhang Good point! I think we might want this in 4.17. I created the OCPBUG targeting 4.18. Please take a look to see if this can be merged now.

Copy link
Contributor

openshift-ci bot commented Aug 30, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bn222, jcaamano, wizhaoredhat, yuqi-zhang

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 Aug 30, 2024
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD eeea749 and 2 for PR HEAD c66a5ac in total

@wizhaoredhat
Copy link
Contributor Author

/retest

@wizhaoredhat
Copy link
Contributor Author

/test

Copy link
Contributor

openshift-ci bot commented Aug 31, 2024

@wizhaoredhat: The /test command needs one or more targets.
The following commands are available to trigger required jobs:

  • /test 4.12-upgrade-from-stable-4.11-images
  • /test cluster-bootimages
  • /test e2e-aws-ovn
  • /test e2e-aws-ovn-upgrade
  • /test e2e-gcp-op
  • /test e2e-gcp-op-single-node
  • /test e2e-hypershift
  • /test images
  • /test unit
  • /test verify

The following commands are available to trigger optional jobs:

  • /test 4.12-upgrade-from-stable-4.11-e2e-aws-ovn-upgrade
  • /test bootstrap-unit
  • /test e2e-aws-disruptive
  • /test e2e-aws-ovn-fips
  • /test e2e-aws-ovn-fips-op
  • /test e2e-aws-ovn-upgrade-out-of-change
  • /test e2e-aws-ovn-workers-rhel8
  • /test e2e-aws-proxy
  • /test e2e-aws-serial
  • /test e2e-aws-single-node
  • /test e2e-aws-upgrade-single-node
  • /test e2e-aws-workers-rhel8
  • /test e2e-azure
  • /test e2e-azure-ovn-upgrade
  • /test e2e-azure-ovn-upgrade-out-of-change
  • /test e2e-azure-upgrade
  • /test e2e-gcp-op-techpreview
  • /test e2e-gcp-ovn-rt-upgrade
  • /test e2e-gcp-rt
  • /test e2e-gcp-rt-op
  • /test e2e-gcp-single-node
  • /test e2e-gcp-upgrade
  • /test e2e-metal-assisted
  • /test e2e-metal-ipi-ovn-dualstack
  • /test e2e-metal-ipi-ovn-ipv6
  • /test e2e-openstack
  • /test e2e-openstack-dualstack
  • /test e2e-openstack-externallb
  • /test e2e-openstack-parallel
  • /test e2e-ovirt
  • /test e2e-ovirt-upgrade
  • /test e2e-ovn-step-registry
  • /test e2e-vsphere
  • /test e2e-vsphere-ovn-upi
  • /test e2e-vsphere-ovn-upi-zones
  • /test e2e-vsphere-ovn-zones
  • /test e2e-vsphere-upgrade
  • /test okd-e2e-aws
  • /test okd-e2e-gcp-op
  • /test okd-e2e-upgrade
  • /test okd-e2e-vsphere
  • /test okd-images
  • /test okd-scos-images
  • /test security

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-openshift-machine-config-operator-master-bootstrap-unit
  • pull-ci-openshift-machine-config-operator-master-e2e-aws-ovn
  • pull-ci-openshift-machine-config-operator-master-e2e-aws-ovn-upgrade
  • pull-ci-openshift-machine-config-operator-master-e2e-aws-ovn-upgrade-out-of-change
  • pull-ci-openshift-machine-config-operator-master-e2e-azure-ovn-upgrade-out-of-change
  • pull-ci-openshift-machine-config-operator-master-e2e-gcp-op
  • pull-ci-openshift-machine-config-operator-master-e2e-gcp-op-single-node
  • pull-ci-openshift-machine-config-operator-master-e2e-gcp-op-techpreview
  • pull-ci-openshift-machine-config-operator-master-e2e-hypershift
  • pull-ci-openshift-machine-config-operator-master-e2e-vsphere-ovn-upi
  • pull-ci-openshift-machine-config-operator-master-e2e-vsphere-ovn-upi-zones
  • pull-ci-openshift-machine-config-operator-master-e2e-vsphere-ovn-zones
  • pull-ci-openshift-machine-config-operator-master-images
  • pull-ci-openshift-machine-config-operator-master-security
  • pull-ci-openshift-machine-config-operator-master-unit
  • pull-ci-openshift-machine-config-operator-master-verify

In response to this:

/test

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.

@wizhaoredhat
Copy link
Contributor Author

/retest

1 similar comment
@wizhaoredhat
Copy link
Contributor Author

/retest

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD eeea749 and 2 for PR HEAD c66a5ac in total

1 similar comment
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD eeea749 and 2 for PR HEAD c66a5ac in total

@wizhaoredhat
Copy link
Contributor Author

/retest

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD eeea749 and 2 for PR HEAD c66a5ac in total

1 similar comment
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD eeea749 and 2 for PR HEAD c66a5ac in total

Copy link
Contributor

openshift-ci bot commented Sep 4, 2024

@wizhaoredhat: 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-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit a3d9b1f into openshift:master Sep 4, 2024
16 of 17 checks passed
@openshift-ci-robot
Copy link
Contributor

@wizhaoredhat: Jira Issue OCPBUGS-39226: All pull requests linked via external trackers have merged:

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

In response to this:

The linux bridge can be configured to add a virtual switch between one or many ports. This can be done by a simple machine config that adds:
"bridge=br0:enpf0,enpf2 ip=br0:dhcp"
to the the kernel command line options which will be processed by dracut.

The use case of adding such a virtual bridge for simple IEEE802.1 switching is to support PCIe devices that act as co-processors in a baremetal server. For example:

   --------         ---------------------
   | Host |  PCIe   |    Co-processor   |
   |  eth0|<------->|enpf0 <-br0-> enpf2|<---> network
   |      |         |                   |
   --------         ---------------------

This co-processor could be a "DPU" network interface card. Thus the co-processor can be part of the same underlay network as the cluster and pods can be scheduled on the Host and the Co-processor. This allows for pods to be offloaded to the co-processor for scaling workloads.

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

[ART PR BUILD NOTIFIER]

Distgit: ose-machine-config-operator
This PR has been included in build ose-machine-config-operator-container-v4.18.0-202409041514.p0.ga3d9b1f.assembly.stream.el9.
All builds following this will include this PR.

@wizhaoredhat
Copy link
Contributor Author

/cherry-pick release-4.16

@openshift-cherrypick-robot

@wizhaoredhat: new pull request created: #4563

In response to this:

/cherry-pick release-4.16

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.

@wizhaoredhat
Copy link
Contributor Author

/cherry-pick release-4.17

@openshift-cherrypick-robot

@wizhaoredhat: new pull request created: #4567

In response to this:

/cherry-pick release-4.17

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. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants