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

Cannot bring down a OVS bridge connection

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.2
    • NetworkManager
    • None
    • None
    • None
    • rhel-net-mgmt
    • None
    • 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 RHEL 10 system with NetworkManager, an active OVS bridge 'br0' with ports 'ovs0' and 'eth1', created via nmstatectl apply with the provided YAML configuration,
      When a sysadmin executes 'nmcli c down br0-br',

      Then, within 5 seconds the OVS bridge br0 is fully removed, all associated OVS ports and interfaces are cleaned up, and nmcli c show --active no longer lists br0-br.


      ( ) 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 RHEL 10 system with NetworkManager, an active OVS bridge 'br0' with ports 'ovs0' and 'eth1', created via nmstatectl apply with the provided YAML configuration, When a sysadmin executes 'nmcli c down br0-br', Then, within 5 seconds the OVS bridge br0 is fully removed, all associated OVS ports and interfaces are cleaned up, and nmcli c show --active no longer lists br0-br. ( ) 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
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Using `sudo nmcli c down br0-br` cannot deactivate a OVS bridge

      What is the impact of this issue to you?

      None, just found this issue when coding nmstate

      Please provide the package NVR for which the bug is seen:

      NetworkManager-1.55.91-1.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      #!/bin/bash
      
      echo 'interfaces:
      - name: ovs0
        type: ovs-interface
      - name: br0
        type: ovs-bridge
        state: up
        bridge:
          port:
          - name: ovs0
          - name: eth1' | sudo nmstatectl apply -
      
      sudo nmcli c down br0-br
      sleep 5
      if [ "CHK$(sudo ovs-vsctl show |grep br0)" == "CHK" ];then
          echo "PASS"
      else
          echo "FAIL"
          sudo ovs-vsctl show
          exit 1
      fi
      

      Expected results

      The br0 OVS bridge been deactivated

      Actual results

      The br0 OVS bridge still exist.

              nm-team Network Management Team
              fge@redhat.com Gris Ge
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: