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 1677649 - tuned-adm verify should not report errors regarding bad IRQ affinity if setting it is unsupported
Summary: tuned-adm verify should not report errors regarding bad IRQ affinity if setti...
Keywords:
Status: CLOSED DUPLICATE of bug 1729936
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: tuned
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Ondřej Lysoněk
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-15 13:38 UTC by Ondřej Lysoněk
Modified: 2019-08-21 13:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-21 13:48:03 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ondřej Lysoněk 2019-02-15 13:38:45 UTC
Description of problem:
When changing the CPU affinity of IRQs using the 'isolated_cores' facility of the 'scheduler' plugin, no errors are reported during profile activation, if changing the affinity is not supported.

In contrast, during verification of the tuning, for IRQs that do not support changing the CPU affinity, errors are reported if the CPU affinity different than expected.

This is inconsistent. We should not print the errors during verification. Debug messages should be logged instead, which is what we do during profile activation.

Version-Release number of selected component (if applicable):
tuned-2.10.0-14.el8.noarch

How reproducible:
always on systems that have IRQs that don't support changing their CPU affinity

Steps to Reproduce:
# cat /etc/tuned/test/tuned.conf
[scheduler]
isolated_cores=1
# systemctl stop tuned
# > /var/log/tuned/tuned.log
# tuned-adm profile test
# grep ERROR /var/log/tuned/tuned.log
# > /var/log/tuned/tuned.log
# tuned-adm verify
# grep ERROR /var/log/tuned/tuned.log

Actual results:
When tuned.log is checked the first time, there are no errors. When the log is checked the second time, there are errors:
2019-02-15 08:19:32,664 ERROR    tuned.plugins.plugin_scheduler: verify: failed: 'SMP affinity of IRQ 0' = '[0, 1]', expected '[0]'
2019-02-15 08:19:32,664 ERROR    tuned.plugins.plugin_scheduler: verify: failed: 'SMP affinity of IRQ 24' = '[0, 1]', expected '[0]'
2019-02-15 08:19:32,664 ERROR    tuned.plugins.plugin_scheduler: verify: failed: 'SMP affinity of IRQ 25' = '[0, 1]', expected '[0]'

Expected results:
There are no errors in either case.

Comment 2 Ondřej Lysoněk 2019-08-21 13:48:03 UTC

*** This bug has been marked as a duplicate of bug 1729936 ***


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