-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
Moderate
-
rhel-sst-cs-net-perf-services
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
Looking at the tuned pod logs on an OpenShift cluster with SecureBoot enabled tuned reports the following error as debugfs access is restricted:
tuned.utils.commands: Writing to file '/sys/kernel/debug/sched/migration_cost_ns' error: '[Errno 1] Operation not permitted: '/sys/kernel/debug/sched/migration_cost_ns'' tuned.plugins.plugin_scheduler: Error writing value '5000000' to 'migration_cost_ns'
Please provide the package NVR for which bug is seen:
tuned-2.20.0-1.3.20230614git850368d2.el9fdp.noarch
OCP 4.14.0-rc.2
How reproducible:
100%
Steps to reproduce
- Deploy single node OpenShift with SecureBoot enabled
- Check tuned pod logs
Expected results
No errors
Actual results
2023-09-26 08:14:40,129 ERROR tuned.utils.commands: Error when reading file '/sys/kernel/debug/sched/migration_cost_ns': '[Errno 1] Operation not permitted: '/sys/kernel/debug/sched/migration_cost_ns'' 2023-09-26 08:14:40,130 ERROR tuned.plugins.plugin_scheduler: Error reading 'migration_cost_ns' 2023-09-26 08:14:40,130 ERROR tuned.plugins.plugin_scheduler: This may not work with Secure Boot or kernel_lockdown (this hint is logged only once) 2023-09-26 08:14:40,130 ERROR tuned.utils.commands: Writing to file '/sys/kernel/debug/sched/migration_cost_ns' error: '[Errno 1] Operation not permitted: '/sys/kernel/debug/sched/migration_cost_ns'' 2023-09-26 08:14:40,130 ERROR tuned.plugins.plugin_scheduler: Error writing value '5000000' to 'migration_cost_ns'
- is depended on by
-
OCPBUGS-19750 Errors reported by tuned when using SecureBoot: Writing to file '/sys/kernel/debug/sched/migration_cost_ns' error: '[Errno 1] Operation not permitted: '/sys/kernel/debug/sched/migration_cost_ns''
- Closed