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

nncp route-rules applied breaks br-ex connectivity

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          nncp route-rules applied on the OCP cluster breaks br-ex connectivity by configuring the route-rules on br-ex device (ovs-if-br-ex)
      
      below the nncp route-rules
      
      apiVersion: nmstate.io/v1
      kind: NodeNetworkConfigurationPolicy
      metadata:
        name: egress-policy
      spec:
        desiredState:
          route-rules:
            config:
            - ip-to: 100.77.77.0/26
              priority: 5550
              route-table: 254
        nodeSelector:
          node-role.kubernetes.io/gateway: ""

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

         kubernetes-nmstate-operator.4.16.0-202407181806

      How reproducible:

      always

       

      Steps to Reproduce:

          1. Apply nncp above with specified priority in table 254
          2. Check ip rules is applied : ip rule list 
          3. Check in which interface the route-rule is applied: for c in $(nmcli -f UUID c show|grep -); do nmcli c show $c |grep routing; done     

      Actual results:

          nncp is applied on br-ex device (ovs-if-br-ex) for some reason

      Expected results:

          nncp add route-rules without applying it on br-ex device 

      Additional info:

          

              bnemec@redhat.com Benjamin Nemec
              ecisse@redhat.com El Hadji Sidi Ahmed Cisse
              Qiong Wang Qiong Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: