Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-72439

DBus of NetworkManager is not responding when creating SRIOV VFS

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Major Major
    • None
    • rhel-8.6.0.z
    • NetworkManager
    • No
    • None
    • rhel-sst-network-management
    • ssg_networking
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Given that SRIOV VFs are created on an i40e NIC,

      When `nmstatectl show` or similar commands interact with NetworkManager via DBus during VF creation,

      Then the DBus service should remain responsive and process requests within an acceptable delay ( under 5 seconds)

      Definition of Done:

      • The implementation meets the acceptance criteria
      • Integration tests are written and passĀ 
      • The code is part of a downstream build attached to an errata
      Show
      Given that SRIOV VFs are created on an i40e NIC, When `nmstatectl show` or similar commands interact with NetworkManager via DBus during VF creation, Then the DBus service should remain responsive and process requests within an acceptable delay ( under 5 seconds) Definition of Done: The implementation meets the acceptance criteria Integration tests are written and passĀ  The code is part of a downstream build attached to an errata
    • None
    • None
    • None

      What were you trying to do that didn't work?

      The `nmstatectl show` got error when i40e NIC creating 60 SRIOV VFs

      Dec 29 06:45:09 error time=1735472709.087777 sender=org.freedesktop.DBus -> destination=:1.557 error
      _name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=33
      Dec 29 06:45:09 string "The name org.freedesktop.NetworkManager was not provided by any .service
      files"

      What is the impact of this issue to you?

      Customer noticed the issue is gone and nmstate has retry on dbus failure, the original issue cannot be reproduced but the `dbus-monitor` can notice the DBUS service of NM is not responding.

      Please provide the package NVR for which the bug is seen:

      NetworkManager-1.36.0-18.el8_6.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      
      # Open a terminal with `dbus-monitor --sytem`
      
      # Open another terminal with `nmstatectl show` running in a loop.
      # The show.sh in attached log can be used for this.
      
      # Then run below commands with correct NIC name.
      NIC="ens1f0"
      
      echo 0 > /sys/class/net/$NIC/device/sriov_numvfs
      sleep 10
      echo 60 > /sys/class/net/$NIC/device/sriov_numvfs
      
      for vf_id in {00..59};do
         ip link set $NIC vf $vf_id mac 00:01:02:03:04:$vf_id trust on spoofchk off
      done
      

      Expected results

      nmstatectl show got reasonable slow down (less 5 seconds) without any DBUS failures.

      Actual results

      The `nmstatectl show` takes 27 seconds and dbus monitor found error:

      "The name org.freedesktop.NetworkManager was not provided by any .service files"

              rh-ee-sfaye Stanislas Faye
              fge@redhat.com Gris Ge
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: