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.
DescriptionChris Henderson
2015-02-23 20:39:05 UTC
Description of problem:
pmatop errors out with with a traceback.
Version-Release number of selected component (if applicable):
# rpm -qa|grep pcp
pcp-conf-3.9.4-5.el6.x86_64
pcp-3.9.4-5.el6.x86_64
pcp-libs-3.9.4-5.el6.x86_64
python-pcp-3.9.4-5.el6.x86_64
How reproducible: 100%
Steps to Reproduce:
1. Install pcp and pcp-conf on a fully updated RHEL 6.6
2. start pmcd via service pmcd start
3. try to run pmatop
Actual results:
# pmatop
Traceback (most recent call last):
File "/usr/bin/pmatop", line 776, in <module>
status = curses.wrapper(main) # pylint: disable-msg=C0103
File "/usr/lib64/python2.6/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/bin/pmatop", line 714, in main
stdscr.move (proc.command_line, 0)
AttributeError: '_ProcPrint' object has no attribute 'command_line'
Expected results:
pmatop would give information about the system utilization.
Additional info:
Have seen this on multiple systems.
In case we don't hear from Stan on this one, I'm updating the flags to indicate a definite fix for 6.8 (it is possibly fixed in 6.7 though, via BZ 1018575 - I'd confirm myself, but have never reproduced the problem locally).
For 6.8, it's looking very likely we'll have a different pmatop implementation, which cannot exhibit this python stack trace since we'd be switching to an alternate implementation (written in C).
http://www.pcp.io/pipermail/pcp/2015-March/006867.htmlhttp://www.pcp.io/pipermail/pcp/2015-March/006870.html
cheers.
I'm not sure that it is the same as BZ 1018575. I have tried various window sizes and not had any luck. If I were supplied a test package for 6.7, I can easily test it.
This is fixed in upstream PCP (via pmatop no longer being a python program, it is now based on atoptool.nl code). We're expecting the fix to arrive in 6.8 via a rebase - https://bugzilla.redhat.com/show_bug.cgi?id=1248272
In the meantime, pcp-3.10.6 contains the new code, and RHEL6 builds are available on https://bintray.com/pcp for interested parties.
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-0825.html
Description of problem: pmatop errors out with with a traceback. Version-Release number of selected component (if applicable): # rpm -qa|grep pcp pcp-conf-3.9.4-5.el6.x86_64 pcp-3.9.4-5.el6.x86_64 pcp-libs-3.9.4-5.el6.x86_64 python-pcp-3.9.4-5.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. Install pcp and pcp-conf on a fully updated RHEL 6.6 2. start pmcd via service pmcd start 3. try to run pmatop Actual results: # pmatop Traceback (most recent call last): File "/usr/bin/pmatop", line 776, in <module> status = curses.wrapper(main) # pylint: disable-msg=C0103 File "/usr/lib64/python2.6/curses/wrapper.py", line 43, in wrapper return func(stdscr, *args, **kwds) File "/usr/bin/pmatop", line 714, in main stdscr.move (proc.command_line, 0) AttributeError: '_ProcPrint' object has no attribute 'command_line' Expected results: pmatop would give information about the system utilization. Additional info: Have seen this on multiple systems.