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

the tuned-ppd service tracebacks with default configuration

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

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhel-10.0
    • rhel-10.0
    • tuned
    • None
    • tuned-2.25.0-0.1.rc1.el10
    • No
    • Important
    • Patch, Upstream
    • rhel-net-perf
    • ssg_core_services
    • 23
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • x86_64
    • None

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

      I tried to start the service but no luck.

      What is the impact of this issue to you?

      The tuned-ppd service does not start at all.

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

      tuned-2.24.0-3.el10.noarch
      tuned-ppd-2.24.0-3.el10.noarch

      How reproducible is this bug?

      always

      Steps to reproduce

      1. get a RHEL-10.0 machine
      2. install the tuned-ppd package
      3. start the tuned-ppd service

      Expected results

      the tuned-ppd service starts and runs successfully with the default configuration

      Actual results

      systemd[1]: Starting tuned-ppd.service - PPD-to-TuneD API Translation Daemon...
      tuned-ppd[11857]: Traceback (most recent call last):
      tuned-ppd[11857]:   File "/usr/sbin/tuned-ppd", line 53, in <module>
      tuned-ppd[11857]:     controller = controller.Controller(bus, tuned_iface)
      tuned-ppd[11857]:                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      tuned-ppd[11857]:   File "/usr/lib/python3.12/site-packages/tuned/ppd/controller.py", line 106, in __init__
      tuned-ppd[11857]:     self.initialize()
      tuned-ppd[11857]:   File "/usr/lib/python3.12/site-packages/tuned/ppd/controller.py", line 141, in initialize
      tuned-ppd[11857]:     self.switch_profile(self._base_profile)
      tuned-ppd[11857]:   File "/usr/lib/python3.12/site-packages/tuned/ppd/controller.py", line 166, in switch_profile
      tuned-ppd[11857]:     tuned_profile = self._config.ppd_to_tuned_battery[profile] if self._on_battery else self._config.ppd_to_tuned[profile]
      tuned-ppd[11857]:                                                                   ^^^^^^^^^^^^^^^^
      tuned-ppd[11857]: AttributeError: 'Controller' object has no attribute '_on_battery'
      systemd[1]: tuned-ppd.service: Main process exited, code=exited, status=1/FAILURE
      systemd[1]: tuned-ppd.service: Failed with result 'exit-code'.
      systemd[1]: Failed to start tuned-ppd.service - PPD-to-TuneD API Translation Daemon.
      

              jskarvad Jaroslav Škarvada
              mmalik@redhat.com Milos Malik
              Jaroslav Škarvada Jaroslav Škarvada
              Robin Hack Robin Hack
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: