| Summary: | tuna not working properly on some ppc64 systems | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jiri Kastner <jkastner> | ||||
| Component: | tuna | Assignee: | John Kacur <jkacur> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Jiri Kastner <jkastner> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.0 | CC: | 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: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1274397, 1282960, 1313485 | ||||||
| Attachments: |
|
||||||
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 |
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: