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.
Description of problem:
The version of python-linux-procfs for rhel6.6 is currently
0.4.5-2 which misses three fixes required for tuna-0.10.4-7.el6
5121e0a7193a procfs: Parse environment variables
816b3fc12ed1 pidstats: Added support for parsing cgroups as a per thread attribu
6b3db2a61598 smaps: Improve parsing of mmaps
Version-Release number of selected component (if applicable):
we urgently need to upgrade to python-linux-procfs-0.4.6-1
How reproducible:
Every time
Steps to Reproduce:
1. rpm -ivh tuna-0.10.4-7.el6.noarch.rpm
2. tuna -CP
Actual results:
thread ctxt_switches
pid SCHED_ rtpri affinity voluntary nonvoluntary cmd
Traceback (most recent call last):
File "/usr/bin/tuna", line 647, in <module>
main()
File "/usr/bin/tuna", line 542, in main
kthreads, affect_children, show_sockets, cgroups)
File "/usr/bin/tuna", line 310, in do_ps
has_ctxt_switch_info, sock_inodes, sock_inode_re, cgroups)
File "/usr/bin/tuna", line 275, in ps_show
sock_inode_re, cgroups)
File "/usr/bin/tuna", line 187, in ps_show_thread
cgout = ps[pid]["cgroups"]
File "/usr/lib/python2.6/site-packages/procfs/procfs.py", line 169, in __getitem__
return getattr(self, attr)
AttributeError: process instance has no attribute 'cgroups'
Expected results:
thread ctxt_switches
pid SCHED_ rtpri affinity voluntary nonvoluntary cmd
1 OTHER 0 0xfff 1065 54 init
2 OTHER 0 0xfff 291 0 kthreadd
3 FIFO 99 0 168 0 migration/0
4 OTHER 0 0 377 0 ksoftirqd/0
5 FIFO 99 0 20 0 stopper/0
6 FIFO 99 0 1894 0 watchdog/0
7 FIFO 99 1 50 0 migration/1
8 FIFO 99 1 20 0 stopper/1
9 OTHER 0 1 112 0 ksoftirqd/1
10 FIFO 99 1 1894 0 watchdog/1
11 FIFO 99 2 36 0 migration/2
12 FIFO 99 2 20 0 stopper/2
13 OTHER 0 2 13 0 ksoftirqd/2
14 FIFO 99 2 1894 0 watchdog/2
15 FIFO 99 3 17 0 migration/3
etc
Additional info:
This is well tested on rhel-mrg, and rhel-7
as well as tested personally on rhel6.6
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.
http://rhn.redhat.com/errata/RHBA-2014-1615.html
Description of problem: The version of python-linux-procfs for rhel6.6 is currently 0.4.5-2 which misses three fixes required for tuna-0.10.4-7.el6 5121e0a7193a procfs: Parse environment variables 816b3fc12ed1 pidstats: Added support for parsing cgroups as a per thread attribu 6b3db2a61598 smaps: Improve parsing of mmaps Version-Release number of selected component (if applicable): we urgently need to upgrade to python-linux-procfs-0.4.6-1 How reproducible: Every time Steps to Reproduce: 1. rpm -ivh tuna-0.10.4-7.el6.noarch.rpm 2. tuna -CP Actual results: thread ctxt_switches pid SCHED_ rtpri affinity voluntary nonvoluntary cmd Traceback (most recent call last): File "/usr/bin/tuna", line 647, in <module> main() File "/usr/bin/tuna", line 542, in main kthreads, affect_children, show_sockets, cgroups) File "/usr/bin/tuna", line 310, in do_ps has_ctxt_switch_info, sock_inodes, sock_inode_re, cgroups) File "/usr/bin/tuna", line 275, in ps_show sock_inode_re, cgroups) File "/usr/bin/tuna", line 187, in ps_show_thread cgout = ps[pid]["cgroups"] File "/usr/lib/python2.6/site-packages/procfs/procfs.py", line 169, in __getitem__ return getattr(self, attr) AttributeError: process instance has no attribute 'cgroups' Expected results: thread ctxt_switches pid SCHED_ rtpri affinity voluntary nonvoluntary cmd 1 OTHER 0 0xfff 1065 54 init 2 OTHER 0 0xfff 291 0 kthreadd 3 FIFO 99 0 168 0 migration/0 4 OTHER 0 0 377 0 ksoftirqd/0 5 FIFO 99 0 20 0 stopper/0 6 FIFO 99 0 1894 0 watchdog/0 7 FIFO 99 1 50 0 migration/1 8 FIFO 99 1 20 0 stopper/1 9 OTHER 0 1 112 0 ksoftirqd/1 10 FIFO 99 1 1894 0 watchdog/1 11 FIFO 99 2 36 0 migration/2 12 FIFO 99 2 20 0 stopper/2 13 OTHER 0 2 13 0 ksoftirqd/2 14 FIFO 99 2 1894 0 watchdog/2 15 FIFO 99 3 17 0 migration/3 etc Additional info: This is well tested on rhel-mrg, and rhel-7 as well as tested personally on rhel6.6