Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-90756

Cannot create bond as ovs-port

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • NetworkManager-1.53.92-1.el10
    • Yes
    • Important
    • rhel-net-mgmt
    • ssg_networking
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Definition of Done:

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      Given a host running NetworkManager with the OVS plugin,

      When Nmstate creates an OVS bridge, an OVS port, and a bond slave profile in one shot, 

      Then the connection is accepted and activated, resulting in a functional OVS bond member of br0, without validation errors.


      Integration test case is available upstream


      Code is reviewed and merged upstream


      Preliminary testing is done


      A demo is recorded

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given a host running NetworkManager with the OVS plugin, When Nmstate creates an OVS bridge, an OVS port, and a bond slave profile in one shot,  Then the connection is accepted and activated, resulting in a functional OVS bond member of br0, without validation errors. Integration test case is available upstream Code is reviewed and merged upstream Preliminary testing is done A demo is recorded
    • Pass
    • Automated
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Execute:

      nmcli c add type ovs-bridge connection.id br0 ifname br0
      nmcli c add type ovs-port connection.id ovs-port-bond0 ifname bond0 connection.master br0 connection.slave-type ovs-bridge
      nmcli c add type bond connection.id ovs-iface-bond0 ifname bond0 ipv4.method disabled ipv6.method disabled connection.master bond0 connection.slave-type ovs-port

      in the recent build it always failed at the last step:

      Error: invalid or not allowed setting 'ipv4': 'ipv4' not among [connection, bond, 802-3-ethernet (ethernet), ethtool, link, match, ovs-interface].

      It was a snippet of a nmstate test case, always worked before. 

      Original reproducer: https://bugzilla.redhat.com/show_bug.cgi?id=1917813#c2

       

      The version:

      NetworkManager-1.53.4-1.el9.x86_64
      NetworkManager-ovs-1.53.4-1.el9.x86_64
      openvswitch3.1-3.1.7-158.el9fdp.x86_64

              nm-team Network Management Team
              rh-ee-mshi1 Mingyu Shi
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: