RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1730341 - [RFE] Support ovs-port with bonding mode balance-slb
Summary: [RFE] Support ovs-port with bonding mode balance-slb
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: nmstate
Version: 8.1
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 8.2
Assignee: Gris Ge
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On:
Blocks: 1695115 1755139
TreeView+ depends on / blocked
 
Reported: 2019-07-16 13:51 UTC by Quique Llorente
Modified: 2022-10-12 07:14 UTC (History)
9 users (show)

Fixed In Version: nmstate-0.2.5-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:00:06 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ovs bridge configuration script for customer0 (663 bytes, application/x-shellscript)
2019-07-16 13:51 UTC, Quique Llorente
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate pull 795 0 None closed OVS Link Aggregation 2021-02-18 13:59:14 UTC
Red Hat Issue Tracker RHELPLAN-27511 0 None None None 2022-10-12 07:14:25 UTC
Red Hat Product Errata RHBA-2020:1696 0 None None None 2020-04-28 16:00:28 UTC

Description Quique Llorente 2019-07-16 13:51:26 UTC
Created attachment 1591053 [details]
ovs bridge configuration script for customer0

Description of problem:

CNV team needs to configure ovs-bridge with a bonding port for customer0

The steps usin nmcli are the following:

## change these to match your hosts                                                                                   
default_device=em1                                                                                                    
secondary_device=em3                                                                                                  
                                                                                                                      
# make bridge                                                                                                         
nmcli conn add type ovs-bridge conn.interface brcnv                                                                   
nmcli conn add type ovs-port conn.interface port0 master brcnv                                                        
nmcli conn add type ovs-port conn.interface brcnv-port master brcnv                                                   
nmcli conn add type ovs-interface conn.id brcnv-iface conn.interface brcnv master brcnv-port ipv4.method auto         
                                                                                                                      
# make bond                                                                                                           
nmcli conn add type ovs-port conn.interface bond0 master brcnv ovs-port.bond-mode balance-slb                         
nmcli conn add type ethernet conn.interface \$default_device master bond0                                             
nmcli conn add type ethernet conn.interface \$secondary_device master bond0                                         


Version-Release number of selected component (if applicable):

nmsate v0.7.0


How reproducible:

nmstate does not have the implementation of ovs-port so there is no concept of bonding two interfaces into it.


Expected results:


Additional info:

Comment 4 Till Maas 2020-02-18 13:56:15 UTC
Approved upstream: https://github.com/nmstate/nmstate/pull/795

Comment 5 Gris Ge 2020-02-20 02:49:58 UTC
Example of OVS bond:


---
interfaces:
  - name: ovs-br0
    type: ovs-bridge
    state: up
    bridge:
      options:
        stp: false
      port:
        - name: ovs-bond1
          link-aggregation:
            mode: balance-slb
            slaves:
              - name: eth1
              - name: eth2

Comment 9 errata-xmlrpc 2020-04-28 16:00:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1696


Note You need to log in before you can comment on or make changes to this bug.