Hide Forgot
Description of problem: on some ibm hw (in particular LPARs) tuna hangs on cpu sockets listing. Version-Release number of selected component (if applicable): How reproducible: on some ibm hw Steps to Reproduce: 1. allocate lpar device 2. install rhel7 and tuna 3. run tuna in gui mode Actual results: [root@ibm-p730-03-lp1 ~]# DISPLAY=:1 tuna Gtk-Message: Failed to load module "canberra-gtk-module" Traceback (most recent call last): File "/usr/bin/tuna", line 647, in <module> main() File "/usr/bin/tuna", line 641, in main app = tuna_gui.main_gui(kthreads, uthreads, cpus_filtered) File "/usr/lib/python2.7/site-packages/tuna/tuna_gui.py", line 49, in __init__ self.procview, self.irqview, cpus_filtered) File "/usr/lib/python2.7/site-packages/tuna/gui/cpuview.py", line 253, in __init__ socket_ids = [ int(id) for id in self.cpus.sockets.keys() ] TypeError: int() argument must be a string or a number, not 'NoneType' Expected results: cpu sockets handled properly, no tracebacks Additional info:
No upstream solution yet, propose we postpone until rhel7.1
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.
The comment above is incorrect. The correct version is bellow. I'm sorry for any inconvenience. --------------------------------------------------------------- This request was NOT resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you need to escalate this bug.
Created attachment 1162786 [details] rtuna: cpuview.py: Omit offline cpus in socket_ids list
(In reply to John Kacur from comment #10) > Created attachment 1162786 [details] > rtuna: cpuview.py: Omit offline cpus in socket_ids list I submitted the above patch upstream
Fixed in tuna-0.13-2.el7 and up
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/RHEA-2016-2392.html