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

tuned reports polkit failure "error querying polkit: Unable to guess signature from an empty dict" until restarted

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0
    • tuned
    • None
    • No
    • Moderate
    • rhel-sst-cs-net-perf-services
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

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

      A customer is having OpenStack 17.1 computes (which are based on RHEL9.2) and is having "fast data path" tuned-2.22.1-1.3.20240327gitfcb29751.el9fdp.noarch installed on his computes.
      For some reason, a few days after the compute is booted, tuned starts misbehaving when a profile is applied using tuned-adm profile <profile>, the following error messages are printed in the log:

      2024-08-26 11:46:13,153 ERROR    tuned.utils.polkit: error querying polkit: Unable to guess signature from an empty dict
      2024-08-26 11:46:13,153 WARNING  tuned.exports.dbus_exporter: polkit error, but action 'com.redhat.tuned.log_capture_start' requested by caller ':1.1214' was successfully authorized by fallback method
      2024-08-26 11:46:13,155 ERROR    tuned.utils.polkit: error querying polkit: Unable to guess signature from an empty dict
      2024-08-26 11:46:13,155 WARNING  tuned.exports.dbus_exporter: polkit error, but action 'com.redhat.tuned.switch_profile' requested by caller ':1.1214' was successfully authorized by fallback method
      2024-08-26 11:46:13,156 INFO     tuned.daemon.daemon: stopping tuning
       :
      2024-08-26 11:46:13,212 ERROR    tuned.daemon.controller: Failed to apply profile 'active'
      2024-08-26 11:46:13,212 INFO     tuned.daemon.controller: Applying previously applied profile.
      2024-08-26 11:46:13,212 INFO     tuned.daemon.daemon: starting tuning
      2024-08-26 11:46:13,213 ERROR    tuned.utils.polkit: error querying polkit: Unable to guess signature from an empty dict
      

      This occurs despite no component has been restarted on the system: polkitd, dbus and tuned are the ones that were initially started on system boot. polkit is registered on the bus, so is tuned, everything looks ok.

      Restarting tuned service fixes the issue somehow.

      Please provide the package NVR for which bug is seen:

      tuned-2.22.1-1.3.20240327gitfcb29751.el9fdp.noarch

      How reproducible:

      Always on customer systems

      Steps to reproduce

      1. Apply a profile

      Expected results

      No error message

      Actual results

      Error messages

              jskarvad Jaroslav Skarvada
              rhn-support-rmetrich Renaud Métrich
              Jaroslav Skarvada Jaroslav Skarvada
              Robin Hack Robin Hack
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: