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

SR-IOV should reject bad MTU config in policy

XMLWordPrintable

    • No
    • NHE Sprint 241
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When the customer applied a sriov policy that configures VFs on the PF that is also used as the primary networking interface and the MTU that is set on the VF, that will also affect the PF (max of the MTU of all the VFs for that PF will be used at the PF level). If the max MTU of the VFs is lower than the MTU of the cluster, network connectivity will be disrupted. We should not allow the user to set a bad MTU when applying policy.
      
      Since it's not immediately obvious how to detect cluster MTU outside of OCP, we will opt to only allow to increase MTU from what's the default on the PF. This way, we remain in a working state. This is in contrast to what is allowed today, i.e. if the MTU _was_ 9k, and the customer sets 8k, we allow it while we know that this is actually risky.

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

      4.12 but older too

      How reproducible:

      always

      Steps to Reproduce:

      1. create SRIOV policy with VFs on PF that is used for primary network but use a lower MTU what's on SDN PF
      2. Wait for SRIOV to be applied
      

      Actual results:

      connectivity will be disrupted

      Expected results:

      Sriov policy should be rejected

      Additional info:

      https://access.redhat.com/support/cases/#/case/03552513

            bnemeth@redhat.com Balazs Nemeth
            bnemeth@redhat.com Balazs Nemeth
            Ying Wang Ying Wang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: