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:
tuned-gtk fails to create a new profile when a user tries to do so according
to the program's UI.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. launch tuned-gui from commandline and enter password when prompted
2. click on "create new" under profiles
3. make changes, if any, click confirm
Actual results:
Traceback (most recent call last):
File "/usr/sbin/tuned-gui", line 643, in on_click_button_confirm_profile_create
self.manager.save_profile(prof)
File "/usr/lib/python2.7/site-packages/tuned/gtk/gui_profile_loader.py", line 102, in save_profile
config.filename = path + tuned.consts.CONF_PROFILE_FILE
AttributeError: 'module' object has no attribute 'CONF_PROFILE_FILE'
Traceback (most recent call last):
File "/usr/sbin/tuned-gui", line 643, in on_click_button_confirm_profile_create
self.manager.save_profile(prof)
File "/usr/lib/python2.7/site-packages/tuned/gtk/gui_profile_loader.py", line 102, in save_profile
config.filename = path + tuned.consts.CONF_PROFILE_FILE
AttributeError: 'module' object has no attribute 'CONF_PROFILE_FILE'
Traceback (most recent call last):
File "/usr/sbin/tuned-gui", line 643, in on_click_button_confirm_profile_create
self.manager.save_profile(prof)
File "/usr/lib/python2.7/site-packages/tuned/gtk/gui_profile_loader.py", line 102, in save_profile
config.filename = path + tuned.consts.CONF_PROFILE_FILE
AttributeError: 'module' object has no attribute 'CONF_PROFILE_FILE'
Expected results:
clicking "Confirm" should create a new profile
Additional info:
These were the items installed on the system:
# rpm -qa |grep -i tuned
tuned-gtk-2.5.1-1.el7.noarch
tuned-2.5.1-1.el7.noarch
# yum list tuned\*
Installed Packages
tuned.noarch 2.5.1-1.el7 @rhel-7-server-beta-rpms
tuned-gtk.noarch 2.5.1-1.el7 @rhel-7-server-optional-beta-rpms
Available Packages
tuned-profiles-atomic.noarch 2.5.1-1.el7 rhel-7-server-optional-beta-rpms
tuned-profiles-compat.noarch 2.5.1-1.el7 rhel-7-server-optional-beta-rpms
tuned-profiles-oracle.noarch 2.5.1-1.el7 rhel-7-server-optional-beta-rpms
tuned-profiles-realtime.noarch 2.5.1-1.el7 rhel-7-server-rt-beta-rpms
tuned-utils.noarch 2.5.1-1.el7 rhel-7-server-beta-rpms
tuned-utils-systemtap.noarch 2.5.1-1.el7 rhel-7-server-optional-beta-rpms
Comment 2Jaroslav Škarvada
2015-10-27 16:58:01 UTC
================================
Verified in:
tuned-2.7.1-1.el7.noarch
tuned-gtk-2.7.1-1.el7.noarch
PASS
================================
$ tuned-gui
1. Enter password
2. Click on 'create new' under tab profiles
3. Fill some name and several values and confirm
name: test
reset_controller: True (plugin audio)
timeout: 5 (plugin audio)
4. Check new profile in list of all profiles
5. Activate test profile -> WORKING
6. Exit application
$ tuned-adm active
Current active profile: test
$ tuned-adm verify
Verfication succeeded, current system settings match the preset profile.
See tuned log file ('/var/log/tuned/tuned.log') for details.
$ cat /etc/tuned/test/tuned.conf
[main]
[audio]
reset_controller = True
timeout = 5
================================
Reproduced in:
tuned-gtk-2.5.1-4.el7.noarch
tuned-2.5.1-4.el7.noarch
FAIL
================================
Traceback appeared when I confirm creation of new profile:
Traceback (most recent call last):
File "/usr/sbin/tuned-gui", line 643, in on_click_button_confirm_profile_create
self.manager.save_profile(prof)
File "/usr/lib/python2.7/site-packages/tuned/gtk/gui_profile_loader.py", line 102, in save_profile
config.filename = path + tuned.consts.CONF_PROFILE_FILE
AttributeError: 'module' object has no attribute 'CONF_PROFILE_FILE'
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
Description of problem: tuned-gtk fails to create a new profile when a user tries to do so according to the program's UI. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. launch tuned-gui from commandline and enter password when prompted 2. click on "create new" under profiles 3. make changes, if any, click confirm Actual results: Traceback (most recent call last): File "/usr/sbin/tuned-gui", line 643, in on_click_button_confirm_profile_create self.manager.save_profile(prof) File "/usr/lib/python2.7/site-packages/tuned/gtk/gui_profile_loader.py", line 102, in save_profile config.filename = path + tuned.consts.CONF_PROFILE_FILE AttributeError: 'module' object has no attribute 'CONF_PROFILE_FILE' Traceback (most recent call last): File "/usr/sbin/tuned-gui", line 643, in on_click_button_confirm_profile_create self.manager.save_profile(prof) File "/usr/lib/python2.7/site-packages/tuned/gtk/gui_profile_loader.py", line 102, in save_profile config.filename = path + tuned.consts.CONF_PROFILE_FILE AttributeError: 'module' object has no attribute 'CONF_PROFILE_FILE' Traceback (most recent call last): File "/usr/sbin/tuned-gui", line 643, in on_click_button_confirm_profile_create self.manager.save_profile(prof) File "/usr/lib/python2.7/site-packages/tuned/gtk/gui_profile_loader.py", line 102, in save_profile config.filename = path + tuned.consts.CONF_PROFILE_FILE AttributeError: 'module' object has no attribute 'CONF_PROFILE_FILE' Expected results: clicking "Confirm" should create a new profile Additional info: These were the items installed on the system: # rpm -qa |grep -i tuned tuned-gtk-2.5.1-1.el7.noarch tuned-2.5.1-1.el7.noarch # yum list tuned\* Installed Packages tuned.noarch 2.5.1-1.el7 @rhel-7-server-beta-rpms tuned-gtk.noarch 2.5.1-1.el7 @rhel-7-server-optional-beta-rpms Available Packages tuned-profiles-atomic.noarch 2.5.1-1.el7 rhel-7-server-optional-beta-rpms tuned-profiles-compat.noarch 2.5.1-1.el7 rhel-7-server-optional-beta-rpms tuned-profiles-oracle.noarch 2.5.1-1.el7 rhel-7-server-optional-beta-rpms tuned-profiles-realtime.noarch 2.5.1-1.el7 rhel-7-server-rt-beta-rpms tuned-utils.noarch 2.5.1-1.el7 rhel-7-server-beta-rpms tuned-utils-systemtap.noarch 2.5.1-1.el7 rhel-7-server-optional-beta-rpms