Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
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 - tuna not working properly on some ppc64 systems
Summary: tuna not working properly on some ppc64 systems
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuna
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 7.3
Assignee: John Kacur
QA Contact: Jiri Kastner
URL:
Whiteboard:
Depends On:
Blocks: 1274397 RT7.3-RHELpkgs 1313485
TreeView+ depends on / blocked
 
Reported: 2013-11-29 15:29 UTC by Jiri Kastner
Modified: 2016-11-04 05:14 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2016-11-04 05:14:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rtuna: cpuview.py: Omit offline cpus in socket_ids list (deleted)
2016-05-30 11:30 UTC, John Kacur
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2392 0 normal SHIPPED_LIVE tuna bug fix and enhancement update 2016-11-03 13:54:24 UTC

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


Note You need to log in before you can comment on or make changes to this bug.