Bug 1434024
| Summary: | tuned realtime/nfv profile does not delete settings when switch to non-RT profile | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | pagupta |
| Component: | tuned | Assignee: | Jaroslav Škarvada <jskarvad> |
| Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.2 | CC: | jeder, jskarvad, lcapitulino, psklenar |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-20 15:42:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1240765 | ||
|
Description
pagupta
2017-03-20 14:57:18 UTC
Could you reproduce the problem and provide /var/log/tuned/tuned.log for the reproducer? I am unable to reproduce it locally. Hmm, the log seems weird , e.g.: 2017-03-18 21:55:25,522 INFO tuned.daemon.daemon: static tuning from profile 'realtime-virtual-host' applied And later: 2017-03-20 03:41:50,962 INFO tuned.daemon.daemon: no profile preset, checking what is recommended for your configuration 2017-03-20 03:41:52,646 INFO tuned.daemon.daemon: using 'throughput-performance' profile and setting it as active 2017-03-20 03:41:52,684 INFO tuned.profiles.loader: loading profile: throughput-performance I.e. when there was some profile correctly loaded, it shouldn't auto-detect profile later. It seems that /etc/tuned/active_profile was deleted meanwhile. But it's probably not related to your problem. I think the following could be a core of the problem: tuned.utils.commands: Writing to file /sys/bus/workqueue/devices/writeback/cpumask error: [Errno 22] Invalid argument It seems that the isolated_cores were badly set in the configuration file and that it got to some bad state. I think the following can recover it: # systemctl restart tuned # tuned-adm profile throughput-performance # tuned-adm profile realtime-virtual-host # tuned-adm profile throughput-performance Also sometimes re-generation of the grub2 config is needed (e.g. for non-EFI): # grub2-mkconfig -o /boot/grub2/grub.cfg Recently we have fixed several related Tuned bugs and it should be now more robust at least, you can check the latest 7.4 test build: tuned-2.7.1-1.20170404gita1b9e606.el7 from the upstream testing repo: https://jskarvad.fedorapeople.org/tuned/devel/repo/ I think it could resolve this problem. It appears the log file was generated with a different tuned version than reported. Notice the following in the log: tuned.plugins.plugin_script: calling script '/usr/lib/tuned/realtime/script.sh' with argument 'start' With tuned-2.7.1-3.el7_3.1.noarch, something like the following would have been printed: tuned.plugins.plugin_script: calling scripts '/usr/lib/tuned/realtime/script.sh' with argument ['start'] Based on several clues in the log, I think the log file was generated with tuned-2.5.1-4.el7_2.1 or tuned-2.5.1-4.el7. Hello. Are you able to reproduce the issue with latest RHEL-7 Tuned version (tuned-2.11.0-5.el7_7.1)? Thank you. Very old BZ, we're not sure this happens anymore. Let's close it. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |