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

NetworkManager removes unrelated OVS ports

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

    • Yes
    • Important
    • ZStream
    • rhel-net-mgmt
    • 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 sysadmin configuring a system with an OVS bridge br0 exists with two OVS ports:

      • p-nm0  managed by NetworkManager via connection nm-port-0 
      • p-ext0 added externally, 

      When they deactivate the connection nm-port-0,

      Then, p-nm0 is detached from br0 and p-ext0 still exists on br0 and remains unchanged. Also, no OVS ports on any other bridge are removed or modified.

      Given a sysadmin configuring a system with an OVS bridge br0 exists with two OVS ports:

      • p-nm0  managed by NetworkManager via connection nm-port-0
      • p-ext0 added externally,

      When they delete the connection nm-port-0,

      Then, p-nm0 is removed from br0 and:

      • If p-nm0 is not the last NM-managed port on br0, br0 still exists and p-ext0 remains unchanged.
      • If p-nm0 is the last NM-managed port on br0, br0 is removed.
      • Also, no OVS ports on any other bridge are removed or modified.

      Integration test case is available upstream.


      Code is reviewed and merged upstream.


      ( ) Preliminary testing is done.


      ( ) Upstream documentation is written in the upstream MR.


      ( ) Release notes text is written in the RHEL issue.


      ( ) 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 sysadmin configuring a system with an OVS bridge br0 exists with two OVS ports: p-nm0  managed by NetworkManager via connection nm-port-0  p-ext0 added externally,  When they deactivate the connection nm-port-0, Then, p-nm0 is detached from br0 and p-ext0 still exists on br0 and remains unchanged. Also, no OVS ports on any other bridge are removed or modified. — Given a sysadmin configuring a system with an OVS bridge br0 exists with two OVS ports: p-nm0  managed by NetworkManager via connection nm-port-0 p-ext0 added externally, When they delete the connection nm-port-0, Then, p-nm0 is removed from br0 and: If p-nm0 is not the last NM-managed port on br0, br0 still exists and p-ext0 remains unchanged. If p-nm0 is the last NM-managed port on br0, br0 is removed. Also, no OVS ports on any other bridge are removed or modified. Integration test case is available upstream. Code is reviewed and merged upstream. ( ) Preliminary testing is done. ( ) Upstream documentation is written in the upstream MR. ( ) Release notes text is written in the RHEL issue. ( ) A demo is recorded
    • Pass
    • None
    • Known Issue
    • Hide
      Cause:
      Consequence:
      Workaround:
      Result:
      Show
      Cause: Consequence: Workaround: Result:
    • Proposed
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      When deleting or deactivating an OVS connection, NetworkManager deletes OVS ports not related to that connection. They can be ports of the same bridge or even of different bridges. The incorrectly deleted ports are ports added externally to an NM created OVS bridge. Ports created by NM are not affected.

      This is causing an important bug in OCP: https://issues.redhat.com/browse/OCPBUGS-62475.

      It seems a regression caused by this commit: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2193/diffs?commit_id=476c89b6f2cd514fca8797bdc503eff60dc3db18

      The bug started when RHCOS was updated with NM 1.52.0-7.el9_6, as this is the version when the mentioned commit was backported.

              rhn-engineering-vbenes Vladimir Benes
              ihuguet@redhat.com Inigo Huguet
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: