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

wpa_supplicant restart sometimes leaves wlan0 device unavailable

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • None
    • None
    • rhel-net-mgmt
    • ssg_networking
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Hide

      Given a system administrator running NetworkManager tests using the mac80211_hwsim module and NetworkManager,

      When they restart wpa_supplicant as part of the test setup (with the workaround patch reverted),

      Then the wlan0 device should remain available and properly managed by NetworkManager without requiring a restart of the NetworkManager service.

      Definition of Done:

      • The implementation meets the acceptance criteria
      • The code is part of a build attached to a downstream errata
      Show
      Given a system administrator running NetworkManager tests using the mac80211_hwsim module and NetworkManager, When they restart wpa_supplicant as part of the test setup (with the workaround patch reverted), Then the wlan0 device should remain available and properly managed by NetworkManager without requiring a restart of the NetworkManager service. Definition of Done: The implementation meets the acceptance criteria The code is part of a build attached to a downstream errata
    • None
    • None
    • x86_64
    • None

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

      NetworkManager-ci wi-fi tests use mac80211_hwsim module to create simulated device. After module load, wpa_supplicant is restarted. This sometimes leaves the device unavailable in NetworkManager, until NetworkManager service is restarted.

      We have the following workaround patch, that should be reverted once this issue is fixed:

      https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/commit/268346c82479781abeadcd104ec0d4de5258928e

      The issue was mainly visible in gnome-shell's NetworkManager gating subset of the tests:

      https://desktopqe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/beaker-gnome-shell-RHEL-9.4/29/

      Please provide the package NVR for which bug is seen:

      NetworkManager-1.45.8-1.el9

      How reproducible:

      Run gnome-shell tests in OpenStack (enough to execute NetworkManager tagged tests), but make sure the patch mentioned above is reverted in NetworkManager-ci. If NetworkManager gets restarted, issue is no longer reproducible (even after reboot) and new machine must be claimed.

      Dev notes (bgalvani):

      Suspicious line in the journal:
      [ 1225.973904] beaker-gnome-shell-rhel-9.4-29 wpa_supplicant[63069]: wlan0: Failed to initialize driver interface
      Device seems to be claimed by other resource, not sure which.

              rh-ee-sfaye Stanislas Faye
              rhn-support-fpokryvk Filip Pokryvka
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: