-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-8.6.0.z, rhel-9.2.0.z
-
tuned-2.22.0-0.1.rc1.el9
-
None
-
Important
-
Patch, Upstream
-
sst_cs_infra_services
-
ssg_core_services
-
26
-
None
-
False
-
-
None
-
None
-
Pass
-
Needed
-
Automated
-
-
All
-
-
None
What were you trying to do that didn't work?
Scrape the logs for correct information. Incorrect information is provided in the logs. Note that while this may seem trivial, we actually use the logs in OCP to provide status of k8s objects and because of the "Overriding ..." message we incorrectly set a profile as Degraded, which results in customer issues such as 03673569.
How reproducible:
Always.
Steps to reproduce
- echo 'vm.max_map_count=1048576' > /etc/sysctl.d/50-vm-max-map-count.conf
- Create the following TuneD profile:
[main]
summary=PoC
[sysctl]
vm.max_map_count = ${a}
[variables]
a=1048576
- Start TuneD and select the profile above.
- See the logs:
2023-12-07 16:04:51,524 INFO tuned.plugins.plugin_sysctl: reapplying system sysctl
2023-12-07 16:04:51,524 INFO tuned.plugins.plugin_sysctl: Overriding sysctl parameter 'vm.max_map_count' from '${a}' to '1048576'
Expected results
Correct information provided in the logs. In the case above, no logs about "Overriding ..." should be logged.
Actual results
2023-12-07 16:04:51,524 INFO tuned.plugins.plugin_sysctl: Overriding sysctl parameter 'vm.max_map_count' from '${a}' to '1048576'
- links to
-
RHBA-2024:127940 tuned update
- mentioned on