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

NMstate: NMstate: Policy failure when changing MTU on Bond interface with enslaved VFs

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • No
    • Hide
      08/18: The issue was resolved, however, a new build with the fix was not available for testing. It is verified that the fix is included in the 4.14 build and status updated accordingly.

      7/11: Still waiting on COS-2238
      7/5: telco reviewed - seeking forecast for 4.14 fix
      Show
      08/18: The issue was resolved, however, a new build with the fix was not available for testing. It is verified that the fix is included in the 4.14 build and status updated accordingly. 7/11: Still waiting on COS-2238 7/5: telco reviewed - seeking forecast for 4.14 fix
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Setup:
      BM cluster, bond with enslaved interface vlans based on VFs, as master ovs system interface
      oc get nns worker-0 -ojsob -o=jsonpath='{.status.currentState.interfaces[?(@.name=="bond0")].link-aggregation.port}'
      ["ens1f0v0.477","ens1f1v0.477"]

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

      4.13

      How reproducible:

      100%

      Steps to Reproduce:

      1.Apply nncp to change mtu on VFs
      
        interfaces:
            - name: ens1f0v0
              type: ethernet
              state: up
              mtu: 3000
            - name: ens1f1v0
              type: ethernet
              state: up
              mtu: 3000
      
       2.Apply nncp to change mtu on VF.Vlans
      
          interfaces:
            - name: ens1f0v0.477
              type: vlan
              state: up
              controller: bond0 
              mtu: 3000
              vlan:
                base-iface: ens1f0v0
                id: 477
            - name: ens1f1v0.477
              type: vlan
              state: up
              mtu: 3000
              controller: bond0
              vlan:
                base-iface: ens1f1v0
                id: 477
      
      
      

      Actual results:

      1. MTU have been changed
      2. but nncp failed with reason
       Bug: Manager(UnknownDevice): Master connection 'bond0' can't be activated: No
            device available\n'"
      
      3. After reboot I lost  the worker, looks like interface vlans were not created

      Expected results:

      MTU changed, pollicy applied successfuly, reboot works

      Additional info:

      May 26 15:54:17 worker-1 NetworkManager[2473]: <info>  [1685116457.3594] audit: op="connection-activate" uuid="bffcae38-89b0-4680-98ac-a97aa10f31a5" name="ens1f1v0.477-slave-ovs-clone" pid=1289851 uid=0 result="fail" reason="Master connection 'bond0' can't be activated: No device available"
      May 26 15:54:19 worker-1 NetworkManager[2473]: <info>  [1685116459.3643] audit: op="device-reapply" interface="ens1f0v0.477" ifindex=14 args="802-3-ethernet.mtu,connection.master" pid=1289851 uid=0 result="fail" reason="Can't reapply changes to 'connection.master' setting"
      May 26 15:54:19 worker-1 NetworkManager[2473]: <info>  [1685116459.3660] audit: op="connection-activate" uuid="d87958ba-c8dc-476e-8c1f-81781bc63cd9" name="ens1f0v0.477-slave-ovs-clone" pid=1289851 uid=0 result="fail" reason="Master connection 'bond0' can't be activated: No device available"
      May 26 15:54:19 worker-1 NetworkManager[2473]: <info>  [1685116459.3682] audit: op="device-reapply" interface="ens1f1v0.477" ifindex=18 args="802-3-ethernet.mtu,connection.master" pid=1289851 uid=0 result="fail" reason="Can't reapply changes to 'connection.master' setting"
      May 26 15:54:19 worker-1 NetworkManager[2473]: <info>  [1685116459.3699] audit: op="connection-activate" uuid="bffcae38-89b0-4680-98ac-a97aa10f31a5" name="ens1f1v0.477-slave-ovs-clone" pid=1289851 uid=0 result="fail" reason="Master connection 'bond0' can't be activated: No device available"
      May 26 15:54:22 worker-1 ovs-vswitchd[2461]: ovs|05106|connmgr|INFO|br-ex<->unix#30631: 2 flow_mods in the last 0 s (2 adds)
      May 26 15:54:23 worker-1 NetworkManager[2473]: <info>  [1685116463.3750] audit: op="device-reapply" interface="ens1f0v0.477" ifindex=14 args="802-3-ethernet.mtu,connection.master" pid=1289851 uid=0 result="fail" reason="Can't reapply changes to 'connection.master' setting"
      May 26 15:54:23 worker-1 NetworkManager[2473]: <info>  [1685116463.3767] audit: op="connection-activate" uuid="d87958ba-c8dc-476e-8c1f-81781bc63cd9" name="ens1f0v0.477-slave-ovs-clone" pid=1289851 uid=0 result="fail" reason="Master connection 'bond0' can't be activated: No device available"
      May 26 15:54:23 worker-1 NetworkManager[2473]: <info>  [1685116463.3789] audit: op="device-reapply" interface="ens1f1v0.477" ifindex=18 args="802-3-ethernet.mtu,connection.master" pid=1289851 uid=0 result="fail" reason="Can't reapply changes to 'connection.master' setting"
      May 26 15:54:23 worker-1 NetworkManager[2473]: <info>  [1685116463.3807] audit: op="connection-activate" uuid="bffcae38-89b0-4680-98ac-a97aa10f31a5" name="ens1f1v0.477-slave-ovs-clone" pid=1289851 uid=0 result="fail" reason="Master connection 'bond0' can't be activated: No device available"
      May 26 15:54:31 worker-1 NetworkManager[2473]: <info>  [1685116471.3855] audit: op="device-reapply" interface="ens1f0v0.477" ifindex=14 args="802-3-ethernet.mtu,connection.master" pid=1289851 uid=0 result="fail" reason="Can't reapply changes to 'connection.master' setting"
      May 26 15:54:31 worker-1 NetworkManager[2473]: <info>  [1685116471.3871] audit: op="connection-activate" uuid="d87958ba-c8dc-476e-8c1f-81781bc63cd9" name="ens1f0v0.477-slave-ovs-clone" pid=1289851 uid=0 result="fail" reason="Master connection 'bond0' can't be activated: No device available"
      May 26 15:54:31 worker-1 NetworkManager[2473]: <info>  [1685116471.3891] audit: op="device-reapply" interface="ens1f1v0.477" ifindex=18 args="802-3-ethernet.mtu,connection.master" pid=1289851 uid=0 result="fail" reason="Can't reapply changes to 'connection.master' setting"
      May 26 15:54:31 worker-1 NetworkManager[2473]: <info>  [1685116471.3907] audit: op="connection-activate" uuid="bffcae38-89b0-4680-98ac-a97aa10f31a5" name="ens1f1v0.477-slave-ovs-clone" pid=1289851 uid=0 result="fail" reason="Master connection 'bond0' can't be activated: No device available"

              bnemec@redhat.com Benjamin Nemec
              rhn-cnf-elevin Evgeny Levin
              None
              None
              Evgeny Levin Evgeny Levin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: