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

tuned-ppd / python3.9 does not provide StrEnum class

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • rhel-9.6
    • CentOS Stream 9
    • tuned
    • None
    • None
    • None
    • rhel-sst-cs-net-perf-services
    • ssg_core_services
    • 3
    • None
    • None
    • None
    • None
    • None

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

       

      rpm -q tuned-ppd
      tuned-ppd-2.24.0-1.el9.noarch

       

      When starting

      systemctl status  tuned-ppd|sed s/stand.l/hw.l/
      × tuned-ppd.service - PPD-to-TuneD API Translation Daemon
           Loaded: loaded (/usr/lib/systemd/system/tuned-ppd.service; enabled; preset: disabled)
           Active: failed (Result: exit-code) since Tue 2024-11-19 21:40:05 CET; 26min ago
          Process: 4521 ExecStart=/usr/sbin/tuned-ppd -l (code=exited, status=1/FAILURE)
         Main PID: 4521 (code=exited, status=1/FAILURE)
              CPU: 85msNov 19 21:40:05 hw.localdomain systemd[1]: Starting PPD-to-TuneD API Translation Daemon...
      Nov 19 21:40:05 hw.localdomain tuned-ppd[4521]: Traceback (most recent call last):
      Nov 19 21:40:05 hw.localdomain tuned-ppd[4521]:   File "/usr/sbin/tuned-ppd", line 10, in <module>
      Nov 19 21:40:05 hw.localdomain tuned-ppd[4521]:     from tuned.ppd import controller
      Nov 19 21:40:05 hw.localdomain tuned-ppd[4521]:   File "/usr/lib/python3.9/site-packages/tuned/ppd/controller.py", line 5, in <module>
      Nov 19 21:40:05 hw.localdomain tuned-ppd[4521]:     from enum import StrEnum
      Nov 19 21:40:05 hw.localdomain tuned-ppd[4521]: ImportError: cannot import name 'StrEnum' from 'enum' (/usr/lib64/python3.9/enum.py)
      Nov 19 21:40:05 hw.localdomain systemd[1]: tuned-ppd.service: Main process exited, code=exited, status=1/FAILURE
      Nov 19 21:40:05 hw.localdomain systemd[1]: tuned-ppd.service: Failed with result 'exit-code'.
      Nov 19 21:40:05 hw.localdomain systemd[1]: Failed to start PPD-to-TuneD API Translation Daemon.

       

       

      RHEL's python3.9 does not provide StrEnum class !

       

      What is the impact of this issue to you?

       

      service does not start

       

              pzacik@redhat.com Pavol Zacik
              leonfauster_googlemail Leon Fauster
              Jaroslav Škarvada Jaroslav Škarvada
              Robin Hack Robin Hack
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: