Description of problem: RT kernel is not enabled when configured via Performance profile. Following error is seen in tuned log: 2021-09-22 10:02:48,966 ERROR tuned.units.manager: BUG: Unhandled exception in start_tuning: invalid literal for int() with base 10: '8192 # Custom (atomic host)' Version-Release number of selected component (if applicable): 4.9.0 rc.1 How reproducible: Not sure yet. First time trying. But based on the type of the error, it should be fairly reproducible. Steps to Reproduce: 1. configure realTimeKernel via performance profile. realTimeKernel: enabled: true 2. Wait for kernel to be updated Actual results: 2. kernel is not changed to rt kernel Error is seen from tuned log: 2021-09-22 10:02:48,966 ERROR tuned.units.manager: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tuned/units/manager.py", line 119, in _try_call return f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/tuned/plugins/instance/instance.py", line 78, in apply_tuning self._plugin.instance_apply_tuning(self) File "/usr/lib/python3.6/site-packages/tuned/plugins/base.py", line 261, in instance_apply_tuning self._instance_apply_static(instance) File "/usr/lib/python3.6/site-packages/tuned/plugins/base.py", line 317, in _instance_apply_static self._execute_all_non_device_commands(instance) File "/usr/lib/python3.6/site-packages/tuned/plugins/base.py", line 433, in _execute_all_non_device_commands self._execute_non_device_command(instance, command, new_value) File "/usr/lib/python3.6/site-packages/tuned/plugins/base.py", line 514, in _execute_non_device_command command["set"](new_value, sim = False) File "/usr/lib/python3.6/site-packages/tuned/plugins/plugin_selinux.py", line 49, in _set_avc_cache_threshold threshold = int(value) ValueError: invalid literal for int() with base 10: '8192 # Custom (atomic host)' Expected results: 2. kernel changed to rt Additional info:
Thank you for the bug report. Looking at the errors this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2004712 This is already fixed in the latest nightlies. If you see this is not addressed in the latest nightlies, please reopen. *** This bug has been marked as a duplicate of bug 2004712 ***
rt kernel was successfully enabled via PAO on 4.9 rc.3.