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.
DescriptionJaroslav Škarvada
2016-08-02 12:24:51 UTC
+++ This bug was initially created as a clone of Bug #1362481 +++
Description of problem:
Using the directive tuned-adm profile_info results in a stack trace and no information
Version-Release number of selected component (if applicable):
tuned-2.7.0-2.fc24.noarch
How reproducible:
Always
Steps to Reproduce:
1. tuned-adm profile_info
Actual results:
[root@server conf.d]# tuned-adm profile_info
Profile name:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tuned/admin/dbus_controller.py", line 42, in _idle
self._action_exit_code = self._action(*self._action_args, **self._action_kwargs)
File "/usr/lib/python2.7/site-packages/tuned/admin/admin.py", line 136, in _action_dbus_profile_info
return self._controller.exit(self._print_profile_info(self._controller.profile_info(profile)))
File "/usr/lib/python2.7/site-packages/tuned/admin/admin.py", line 121, in _print_profile_info
print(ret[1])
NameError: global name 'ret' is not defined
^CTraceback (most recent call last):
File "/usr/sbin/tuned-adm", line 88, in <module>
result = admin.action(action_name, **options)
File "/usr/lib/python2.7/site-packages/tuned/admin/admin.py", line 72, in action
res = self._controller.run()
File "/usr/lib/python2.7/site-packages/tuned/admin/dbus_controller.py", line 62, in run
self._main_loop.run()
File "/usr/lib64/python2.7/site-packages/gi/overrides/GLib.py", line 576, in run
raise KeyboardInterrupt
KeyboardInterrupt
Expected results:
Details about the profile
Additional info:
Can list the available profiles fine:
[root@server conf.d]# tuned-adm list
Available profiles:
- balanced - General non-specialized tuned profile
- desktop - Optmize for the desktop use-case
- latency-performance - Optimize for deterministic performance at the cost of increased power consumption
- network-latency - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput - Optimize for streaming network throughput. Generally only necessary on older CPUs or 40G+ networks.
- powersave - Optimize for low power consumption
- throughput-performance - Broadly applicable tuning that provides excellent performance across a variety of common server workloads. This is the default profile for RHEL7.
- virtual-guest - Optimize for running inside a virtual guest.
- virtual-host - Optimize for running KVM guests
Current active profile: balanced
--- Additional comment from Jaroslav Škarvada on 2016-08-02 14:22:52 CEST ---
Thanks for the report, it's regression, we hadn't test for it, upstream commit fixing the problem:
https://git.fedorahosted.org/cgit/tuned.git/commit/?id=1f365e4f364439091caf4a85e91ba72c9ce6f309
Comment 1Jaroslav Škarvada
2016-08-02 12:25:25 UTC
It should be fixed, we only need test for it.
Comment 2Jaroslav Škarvada
2016-08-02 13:01:28 UTC
(In reply to Jaroslav Škarvada from comment #1)
> It should be fixed, we only need test for it.
It's fixed in 2.7.1
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://rhn.redhat.com/errata/RHBA-2016-2479.html