Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1357617 - plugin_scheduler taskset errors during rollback
plugin_scheduler taskset errors during rollback
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned (Show other bugs)
7.2
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Jaroslav Škarvada
Tereza Cerna
: Patch, Upstream
Depends On:
Blocks: 1400961 1472751 TUNED-7.5-REBASE 1485946
  Show dependency treegraph
 
Reported: 2016-07-18 12:09 EDT by Jaroslav Škarvada
Modified: 2018-04-10 12:01 EDT (History)
6 users (show)

See Also:
Fixed In Version: tuned-2.9.0-0.1.rc1.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1252160
Environment:
Last Closed: 2018-04-10 12:01:26 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-2018:0879 normal SHIPPED_LIVE tuned bug fix and enhancement update 2018-04-10 09:39:08 EDT

  None (edit)
Comment 3 Ondřej Lysoněk 2017-10-02 07:41:03 EDT
I think this should be already fixed (more or less) by
https://github.com/redhat-performance/tuned/commit/f9f5b073a599c

The taskset errors are probably caused by trying to set affinity of some kernel threads. The commit above changes the log level of the errors related to kernel threads to debug, so you won't see them anymore.

Jeff, could you test the following test build? If you still see the errors, please attach another log from a run in debug mode.
https://olysonek.fedorapeople.org/tuned/tuned-2.8.0-6testonly/
It was built from this branch:
https://github.com/olysonek/tuned/tree/fixes

The commit above should hide the errors, but there's another problem. I think the scheduler plugin does rollback of settings which were not really set. E.g. if you have the following in a profile:
[scheduler]
group.ksoftirqd=0:f:2:*:ksoftirqd.*

then the cpu affinity will not be set when the profile is applied ('*' is used as the affinity), but tuned will try to set the original affinity, when the profile is unapplied. I propose we fix this when we get around to refactoring the scheduler plugin a bit, as I don't think this is terribly important and I don't feel like going through the code again only because of this :).
Comment 4 Jeff Nelson 2017-10-07 12:42:52 EDT
In Comment #3, Ondřej writes:
>Jeff, could you test the following test build? If you still see the errors,
>please attach another log from a run in debug mode.
>https://olysonek.fedorapeople.org/tuned/tuned-2.8.0-6testonly/
>It was built from this branch:
>https://github.com/olysonek/tuned/tree/fixes

Sorry, I am in a different position than when I originally reported this problem and I won't have time to verify this test build. Is this something you could ask QE to test?
Comment 5 Ondřej Lysoněk 2017-10-13 11:01:02 EDT
Well this is the sort of bug which would be best tested in your environment. Otherwise we can't be sure it's really fixed, as there might be more unrelated issues. So let's just hope it's fixed, I guess :).
Comment 10 errata-xmlrpc 2018-04-10 12:01:26 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://access.redhat.com/errata/RHBA-2018:0879

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