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

[OVN] ovs-configuration vSphere vmxnet3 allmulti workaround is now permanent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • None
    • 4.13
    • None
    • Moderate
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Bug Fix
    • Done

    Description

      Description of problem:

      The workaround for BZ 1854355 seems to be permanent now since BZ 1854355 was closed based on this workaround from BZ 1869886 below.

      https://github.com/openshift/machine-config-operator/blob/master/templates/common/_base/files/configure-ovs-network.yaml#L766

      # if the interface is of type vmxnet3 add multicast capability for that driver
      # REMOVEME: Once BZ:1854355 is fixed, this needs to get removed.
      function configure_driver_options {
        intf=$1
        if [ ! -f "/sys/class/net/${intf}/device/uevent" ]; then
          echo "Device file doesn't exist, skipping setting multicast mode"
        else
          driver=$(cat "/sys/class/net/${intf}/device/uevent" | grep DRIVER | awk -F "=" '{print $2}')
          echo "Driver name is" $driver
          if [ "$driver" = "vmxnet3" ]; then
            ifconfig "$intf" allmulti
          fi
        fi
      

      If this is permanent then we also need to update the workaround for ifconfig deprecation and future RHEL9 support

      ifconfig "$intf" allmulti  -> ip link set dev "${inft}" allmulticast on
      

      We should update the comment and ensure the workaround moves into requirements and OPNET-10

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

      4.13.0-0.nightly-2023-01-23-085522
       

      How reproducible:

      On vSphere, always.

      Steps to Reproduce:

      1. install vSphere OVN cluster with vmxnet3
      

      Actual results:

      Install succeeds

      Expected results:

      Install succeeds

      Attachments

        Activity

          People

            mcambria Michael Cambria
            rbrattai@redhat.com Ross Brattain
            Anurag Saxena Anurag Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: