Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
In tuned 2.10, the "tuned-adm recommend" command used to work when the tuned daemon was stopped. In tuned 2.11 rc1, it does not.
Version-Release number of selected component (if applicable):
tuned-2.11.0-0.1.rc1
How reproducible:
Always.
Steps to Reproduce:
1. Remove old tuned package
2. rpm -ivh tuned-2.11.0-0.1.rc1.el7.noarch.rpm
3. make sure the tuned daemon is stopped
4. tuned-adm recommend
Actual results:
root@b1: /var/lib # systemctl stop tuned
root@b1: /var/lib # rpm -qi tuned
Name : tuned
Version : 2.11.0
Release : 0.1.rc1.el7
Architecture: noarch
Install Date: Mon 11 Mar 2019 08:15:22 AM EDT
Group : Unspecified
Size : 866778
License : GPLv2+
Signature : (none)
Source RPM : tuned-2.11.0-0.1.rc1.el7.src.rpm
Build Date : Mon 11 Mar 2019 06:15:35 AM EDT
Build Host : ppc-021.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor : Red Hat, Inc.
URL : http://www.tuned-project.org/
Summary : A dynamic adaptive system tuning daemon
Description :
The tuned package contains a daemon that tunes system settings dynamically.
It does so by monitoring the usage of several system components periodically.
Based on that information components will then be put into lower or higher
power saving modes to adapt to the current usage. Currently only ethernet
network and ATA harddisk devices are implemented.
root@b1: /var/lib # tuned-adm recommend
Cannot talk to Tuned daemon via DBus. Is Tuned daemon running?
Traceback (most recent call last):
File "/usr/sbin/tuned-adm", line 119, in <module>
result = admin.action(action_name, **options)
File "/usr/lib/python2.7/site-packages/tuned/admin/admin.py", line 89, in action
res = action(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/tuned/admin/admin.py", line 315, in _action_recommend_profile
print(self._cmd.recommend_profile())
AttributeError: commands instance has no attribute 'recommend_profile'
Expected results:
Warning that the Daemon is not running is acceptable, but tuned-adm should return the recommended profile.
Additional info:
This bug would break the functionality in containerized tuned shipping in OCP 4.0
Run with old tuned:
root@b2: ~ # systemctl stop tuned
root@b2: ~ # rpm -qi tuned
Name : tuned
Version : 2.10.0
Release : 6.el7
Architecture: noarch
Install Date: Mon 15 Oct 2018 11:57:55 PM EDT
Group : Unspecified
Size : 769461
License : GPLv2+
Signature : RSA/SHA256, Fri 07 Sep 2018 09:07:02 AM EDT, Key ID 199e2f91fd431d51
Source RPM : tuned-2.10.0-6.el7.src.rpm
Build Date : Fri 07 Sep 2018 08:56:47 AM EDT
Build Host : ppc-021.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor : Red Hat, Inc.
URL : http://www.tuned-project.org/
Summary : A dynamic adaptive system tuning daemon
Description :
The tuned package contains a daemon that tunes system settings dynamically.
It does so by monitoring the usage of several system components periodically.
Based on that information components will then be put into lower or higher
power saving modes to adapt to the current usage. Currently only ethernet
network and ATA harddisk devices are implemented.
root@b2: ~ # tuned-adm recommend
Cannot talk to Tuned daemon via DBus. Is Tuned daemon running?
openshift-control-plane
root@b2: ~ #
Comment 3Jaroslav Škarvada
2019-03-11 16:23:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2019:2201