Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-37542

OVS bridges for localnet must be created with "allow-extra-patch-ports: true"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.14, 4.15, 4.16
    • Documentation / SDN
    • None
    • Moderate
    • None
    • 3
    • OSDOCS Sprint 257
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Pods connected to an additional OVS bridge through localnet may get abruptly disconnected from the network.
      
      If kubernetes-nmstate pod for any reason restarts, it may reapply all the NNCPs. This would lead to removal of all patch ports connected to configured OVS bridge that were not defined in the NNCP. This means that all Pods and VMs connected to it would be disconnected.
      
      This can be avoided by setting "allow-extra-patch-ports: true" in the NNCP.

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

      4.14+

      How reproducible:

      Docs

      Steps to Reproduce:

          1. Go to https://docs.openshift.com/container-platform/4.16/networking/multiple_networks/configuring-additional-network.html#configuring-additional-network_configuration-additional-network-interface
          2. See "Example mapping for nodes with multiple interfaces"
          3.
          

      Actual results:

      ...
            state: up
            bridge:
              options:
                stp: true
              port:
              - name: eth1 
      ...

      Expected results:

      ...
            state: up
            bridge:
              allow-extra-patch-ports: true
              options:
                stp: true
              port:
              - name: eth1 
      ...

      Additional info:

      https://bugzilla.redhat.com/show_bug.cgi?id=2209293

              dfitzmau@redhat.com Darragh Fitzmaurice
              phoracek@redhat.com Petr Horacek
              Zhanqi Zhao Zhanqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: