Bug 953128
| Summary: | tuned does not start if active profile is missing | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Branislav Blaškovič <bblaskov> |
| Component: | tuned | Assignee: | Jaroslav Škarvada <jskarvad> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | jkaluza, jskarvad, jv+fedora, pknirsch, twoerner |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tuned-2.3.0-1.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-12 00:41:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Branislav Blaškovič
2013-04-17 12:23:32 UTC
Fix for comment #1: Description of problem: If active profile is missing, tuned does not start. I just committed a fix to upstream repository: https://git.fedorahosted.org/cgit/tuned.git/commit/?id=780aac2 Moving to f20. Well, it is still not optimal, but at least the daemon doesn't crash now (tuned-2.3.0) and tuned-adm can be used to change to some other profile:
2013-11-06 11:51:49,705 ERROR tuned.daemon.daemon: Cannot load profile 'test'.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tuned/daemon/daemon.py", line 19, in __init__
self._init_profile(profile_name)
File "/usr/lib/python2.7/site-packages/tuned/daemon/daemon.py", line 33, in _init_profile
self.set_profile(profile_name)
File "/usr/lib/python2.7/site-packages/tuned/daemon/daemon.py", line 45, in set_profile
raise TunedException("Cannot load profile '%s'." % profile_name)
TunedException: Cannot load profile 'test'.
2013-11-06 11:51:49,705 ERROR tuned.daemon.daemon: Cannot set initial profile. No tunings will be enabled!
# systemctl status tuned
tuned.service - Dynamic System Tuning Daemon
Loaded: loaded (/usr/lib/systemd/system/tuned.service; enabled)
Active: active (running) since St 2013-11-06 11:51:49 EST; 5min ago
Main PID: 43188 (tuned)
CGroup: /system.slice/tuned.service
└─43188 /usr/bin/python -Es /usr/sbin/tuned -l -P
So I am marking this as resolved. I will remove the traceback in the upstream git master. It was there only for debug purposes (log.exception).
Upstream commit removing the traceback logging: https://git.fedorahosted.org/cgit/tuned.git/commit/?id=7608f2dc2b84132267fdb7d0455e4eab94df1295 tuned-2.3.0-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/tuned-2.3.0-1.fc20 Package tuned-2.3.0-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tuned-2.3.0-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-20857/tuned-2.3.0-1.fc20 then log in and leave karma (feedback). tuned-2.3.0-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |