Bug 1220957 - tuned service fails to start
Summary: tuned service fails to start
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: tuned
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-12 23:10 UTC by Langdon White
Modified: 2016-07-19 14:05 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 14:05:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1339346 0 high CLOSED systemd: Unit tuned.service entered failed state. 2021-02-22 00:41:40 UTC

Internal Links: 1339346

Description Langdon White 2015-05-12 23:10:16 UTC
Description of problem:
Attempt to start tuned service, 

Version-Release number of selected component (if applicable):
tuned-2.4.1-5.fc22

How reproducible:
Tried a couple times, with a reboot in the middle.

Steps to Reproduce:
1. systemctl start tuned
2.
3.

Actual results:
received this from journalctl -u tuned
May 12 18:27:20 my.machine.example.com systemd[1]: Starting Dynamic System Tuning Daemon...
May 12 18:27:21 my.machine.example.com python[3565]: detected unhandled Python exception in '/usr/sbin/tuned'
May 12 18:27:21 my.machine.example.com tuned[3565]: Traceback (most recent call last):
May 12 18:27:21 my.machine.example.com tuned[3565]: File "/usr/sbin/tuned", line 63, in <module>
May 12 18:27:21 my.machine.example.com tuned[3565]: app = tuned.daemon.Application(args.profile)
May 12 18:27:21 my.machine.example.com tuned[3565]: File "/usr/lib/python2.7/site-packages/tuned/daemon/application.py", line 32, 
May 12 18:27:21 my.machine.example.com tuned[3565]: self.config = self._load_global_config()
May 12 18:27:21 my.machine.example.com tuned[3565]: File "/usr/lib/python2.7/site-packages/tuned/daemon/application.py", line 183,
May 12 18:27:21 my.machine.example.com tuned[3565]: config = ConfigObj(file_name, configspec=global_config_spec, raise_errors = Tr
May 12 18:27:21 my.machine.example.com tuned[3565]: File "/usr/lib/python2.7/site-packages/configobj.py", line 1229, in __init__
May 12 18:27:21 my.machine.example.com tuned[3565]: self._load(infile, configspec)
May 12 18:27:21 my.machine.example.com tuned[3565]: File "/usr/lib/python2.7/site-packages/configobj.py", line 1287, in _load
May 12 18:27:21 my.machine.example.com tuned[3565]: content = self._handle_bom(content)
May 12 18:27:21 my.machine.example.com tuned[3565]: File "/usr/lib/python2.7/site-packages/configobj.py", line 1477, in _handle_bo
May 12 18:27:21 my.machine.example.com tuned[3565]: if six.PY2 and isinstance(line, str):
May 12 18:27:21 my.machine.example.com tuned[3565]: AttributeError: 'module' object has no attribute 'PY2'
May 12 18:27:21 my.machine.example.com systemd[1]: tuned.service: main process exited, code=exited, status=1/FAILURE
May 12 18:27:21 my.machine.example.com systemd[1]: Failed to start Dynamic System Tuning Daemon.
May 12 18:27:21 my.machine.example.com systemd[1]: Unit tuned.service entered failed state.
May 12 18:27:21 my.machine.example.com systemd[1]: tuned.service failed.

Comment 1 Christy Norman 2015-06-03 21:31:46 UTC
I ran into an issue with six.PY2 yesterday. I have no idea what happened (checking yum history log, etc.), but reinstalling python-six took care of it.

Comment 2 Jaroslav Škarvada 2015-06-04 12:12:36 UTC
(In reply to clnperez from comment #1)
> I ran into an issue with six.PY2 yesterday. I have no idea what happened
> (checking yum history log, etc.), but reinstalling python-six took care of
> it.

Thanks for info. From the traceback it seems like python-six problem. It's probably not tuned fault.

Comment 3 fred 2015-07-16 17:38:37 UTC
I have the same issue. It seems that some packages from f21 were still there. 
I remove the f21 package with pkcon remove python-six and reinstalled with dnf reinstall python-six . tuned now starts.

If anyone know how to use dnf to check and remove all f21 packages, that would be very nice indeed.

Comment 4 Fedora End Of Life 2016-07-19 14:05:28 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.