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.

Bug 1358814

Summary: tuned-gui cannot start, is causing traceback
Product: Red Hat Enterprise Linux 7 Reporter: Jaroslav Škarvada <jskarvad>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Tereza Cerna <tcerna>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: jeder, jskarvad, tcerna
Target Milestone: rcKeywords: Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tuned-2.7.1-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 07:28:31 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 Jaroslav Škarvada 2016-07-21 14:19:04 UTC
Description of problem:
It seems there is an old copy&paste error that now manifests as a traceback.

Version-Release number of selected component (if applicable):
tuned-gtk-2.7.0

How reproducible:
Always

Steps to Reproduce:
1. tuned-gui

Actual results:
Traceback (most recent call last):
  File "/usr/sbin/tuned-gui", line 1026, in <module>
    base = Base()
  File "/usr/sbin/tuned-gui", line 140, in __init__
    if not self._starting():
  File "/usr/sbin/tuned-gui", line 93, in _starting
    self.controller.is_running()
  File "/usr/lib/python2.7/site-packages/tuned/admin/dbus_controller.py", line 85, in is_running
    return self._call("is_running")
  File "/usr/lib/python2.7/site-packages/tuned/admin/dbus_controller.py", line 69, in _call
    self._init_proxy()
  File "/usr/lib/python2.7/site-packages/tuned/admin/dbus_controller.py", line 33, in _init_proxy
    self._proxy = bus.get_object(self._bus_name, self._object_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 244, in __init__
    _dbus_bindings.validate_object_path(object_path)
ValueError: Invalid object path 'com.redhat.tuned.control': does not start with '/'

Expected results:
No traceback

Additional info:
Unfortunately this wasn't caught by our test suite, because there are currently no tests for the GUI.

Comment 1 Jaroslav Škarvada 2016-07-21 14:21:44 UTC
It's already fixed upstream:
https://git.fedorahosted.org/cgit/tuned.git/commit/?id=e6c6e157336acd08e40c817d4e7ee7bf1a1f5a04

Comment 3 Tereza Cerna 2016-08-09 13:49:29 UTC
================================
Verified in:
    tuned-2.7.1-1.el7.noarch
    tuned-gtk-2.7.1-1.el7.noarch
    powertop-2.3.11.el7.x86_64
PASS
================================

$ tuned-gui

** (tuned-gui:3960): WARNING **: atk-bridge: Couldn't listen on dbus server: Failed to bind socket "/root/.cache/at-spi2-socket-3960": No such file or directory

There was no traceback during start of GUI application. Application works.

================================
Reproduced in:
    tuned-2.7.0-1.el7.noarch
    tuned-gtk-2.7.0-1.el7.noarch
FAIL
================================

$ tuned-gui
Traceback (most recent call last):
  File "/usr/sbin/tuned-gui", line 976, in <module>
    base = Base()
  File "/usr/sbin/tuned-gui", line 140, in __init__
    if not self._starting():
  File "/usr/sbin/tuned-gui", line 93, in _starting
    self.controller.is_running()
  File "/usr/lib/python2.7/site-packages/tuned/admin/dbus_controller.py", line 85, in is_running
    return self._call("is_running")
  File "/usr/lib/python2.7/site-packages/tuned/admin/dbus_controller.py", line 69, in _call
    self._init_proxy()
  File "/usr/lib/python2.7/site-packages/tuned/admin/dbus_controller.py", line 33, in _init_proxy
    self._proxy = bus.get_object(self._bus_name, self._object_name)
  File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 244, in __init__
    _dbus_bindings.validate_object_path(object_path)
ValueError: Invalid object path 'com.redhat.tuned.control': does not start with '/'

Comment 5 errata-xmlrpc 2016-11-04 07:28:31 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://rhn.redhat.com/errata/RHBA-2016-2479.html