The goferd service fails to start with error "AttributeError: 'Scheduler' object has no attribute 'isAlive'" in RHEL 9 systems.
Issue
-
After registering an RHEL 9 system with a Red Hat Satellite server and Installing the
katello-agent
&gofer
packages, Thegoferd
service fails to start.# systemctl status goferd × goferd.service - Gofer Agent Loaded: loaded (/usr/lib/systemd/system/goferd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2022-09-05 13:04:11 UTC; 4s ago Process: 5093 ExecStart=/usr/bin/env ${PYTHON} /usr/bin/goferd --foreground (code=exited, status=1/FAILURE) Main PID: 5093 (code=exited, status=1/FAILURE) CPU: 234ms Sep 05 13:04:10 rhel9.example.com env[5093]: plugin.start() Sep 05 13:04:10 rhel9.example.com env[5093]: File "/usr/lib/python3.9/site-packages/gofer/common.py", line 312, in sfn Sep 05 13:04:10 rhel9.example.com env[5093]: return fn(*args, **kwargs) Sep 05 13:04:10 rhel9.example.com env[5093]: File "/usr/lib/python3.9/site-packages/gofer/agent/plugin.py", line 317, in start Sep 05 13:04:10 rhel9.example.com env[5093]: if self.is_started: Sep 05 13:04:10 rhel9.example.com env[5093]: File "/usr/lib/python3.9/site-packages/gofer/agent/plugin.py", line 304, in is_started Sep 05 13:04:10 rhel9.example.com env[5093]: return self.scheduler.isAlive() Sep 05 13:04:10 rhel9.example.com env[5093]: AttributeError: 'Scheduler' object has no attribute 'isAlive' Sep 05 13:04:11 rhel9.example.com systemd[1]: goferd.service: Main process exited, code=exited, status=1/FAILURE Sep 05 13:04:11 rhel9.example.com systemd[1]: goferd.service: Failed with result 'exit-code'.
Environment
- Red Hat Enterprise Linux 9
- Python 3.9
- Red Hat Satellite
- 6.11
- 6.12
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.