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 1036156

Summary: tuna not working properly on some ppc64 systems
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Kastner <jkastner>
Component: tunaAssignee: John Kacur <jkacur>
Status: CLOSED ERRATA QA Contact: Jiri Kastner <jkastner>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: bhu, jkacur
Target Milestone: rc   
Target Release: 7.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
On some hardware such as ppc64, tuna was ending in a traceback while trying to parse a systems CPU list that contained CPUs that were offline. Tuna was modified to recognize and skip the offline CPUs allowing proper display with no errors.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 05:14:40 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:
Bug Depends On:    
Bug Blocks: 1274397, 1282960, 1313485    
Attachments:
Description Flags
rtuna: cpuview.py: Omit offline cpus in socket_ids list none

Description Jiri Kastner 2013-11-29 15:29:14 UTC
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:

Comment 3 John Kacur 2014-03-12 12:47:06 UTC
No upstream solution yet, propose we postpone until rhel7.1

Comment 5 Ludek Smid 2014-06-26 10:49:25 UTC
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.

Comment 6 Ludek Smid 2014-06-26 11:13:59 UTC
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.

Comment 10 John Kacur 2016-05-30 11:30:40 UTC
Created attachment 1162786 [details]
rtuna: cpuview.py: Omit offline cpus in socket_ids list

Comment 11 John Kacur 2016-05-30 11:31:26 UTC
(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

Comment 12 John Kacur 2016-05-30 11:55:53 UTC
Fixed in tuna-0.13-2.el7 and up

Comment 16 errata-xmlrpc 2016-11-04 05:14:40 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/RHEA-2016-2392.html