Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1245677 - The current regex solution breaks tuna and possible others apps with newer kernels
The current regex solution breaks tuna and possible others apps with newer ke...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-linux-procfs (Show other bugs)
7.1
x86_64 Linux
high Severity high
: rc
: 7.3
Assigned To: John Kacur
Jiri Kastner
:
Depends On:
Blocks: 1313485 1274397 RT7.3-RHELpkgs
  Show dependency treegraph
 
Reported: 2015-07-22 10:09 EDT by Flavio Leitner
Modified: 2016-11-04 04:08 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-04 04:08:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2532 normal SHIPPED_LIVE python-linux-procfs bug fix update 2016-11-03 10:17:30 EDT

  None (edit)
Description Flavio Leitner 2015-07-22 10:09:12 EDT
Description of problem:

The /proc/interrupts format changed a bit in the newer kernels adding an extra column.
This is how it used to be:
 43:  0   0   0   0   PCI-MSI-edge  virtio0-input.0
This is how it is now:
 43:  0   0   0   0   PCI-MSI 32769-edge  virtio0-input.0

The extra column breaks the 'users' parser.  As a consequence tuna breaks too.

# tuna --irqs='virtio0*' --cpus=0,1,2,3  -x
[]
tuna: --move requires a list of threads/irqs!
[root@localhost ~]# tuna --irqs='*virtio0*' --cpus=0,1,2,3  -x
[32, 33, 34, 26, 27, 28, 29, 30, 31]

Version-Release number of selected component (if applicable):
tuna-0.11.1-8.el7.noarch
python-linux-procfs-0.4.6-2.el7.noarch
Good kernel: 3.10.0-252.el7.x86_64
Bad kernel: vmlinuz-4.1.0-05824-gb922622

How reproducible:
Always, just reboot a guest using the bad kernel version.

Actual results:
tuna regex for irq users is broken

Expected results:
both kernels are supported and the same regex applies.

Additional info:
The bad kernel might not be supported at this moment, but it is useful for testing and might be the case of more advanced kernels, like kernel-rt. In any case, this needs to be fixed to prevent customers to find it later on when the supported kernel gets updated too.
Comment 2 John Kacur 2016-05-23 10:13:05 EDT
The patch to fix this was included in bz1235826
Comment 6 errata-xmlrpc 2016-11-04 04:08:00 EDT
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-2532.html

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