View Issue Details

IDProjectCategoryView StatusLast Update
0014810CentOS-7tunedpublic2018-08-23 14:20
Reportermarcoafv 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.5.1804 
Target VersionFixed in Version 
Summary0014810: Tuned constants with missing grub.cfg path
DescriptionWhen using low latency profiles (which usually set skew_tick cmdline parameter into grub.cfg) tuned is not finding grub.cfg when the OS is installed on bare metal with UEFI.

It's happening because the constant GRUB2_CFG_FILES in /usr/lib/python2.7/site-packages/tuned/consts.py at line 24 is missing the path '/boot/efi/EFI/centos/grub.cfg' causing the follow error:
2018-05-15 13:49:43,305 ERROR tuned.plugins.plugin_bootloader: cannot find grub.cfg to patch, you need to regenerate it by hand by grub2-mkconfig

The tuned project on github is already fixed on master branch (https://github.com/redhat-performance/tuned/blob/master/tuned/consts.py)
Steps To Reproducesystemctl start|restart tuned
tail -20 /var/log/tuned/tuned.log
TagsNo tags attached.
abrt_hash
URL

Activities

marcoafv

marcoafv

2018-05-15 14:24

reporter   ~0031819

I forgot to describe we're using network-latency profile so to reproduce the problem you should it.
rigtorp

rigtorp

2018-08-23 11:53

reporter   ~0032573

I have the exact same issue on UEFI systems:
2018-08-23 06:11:23,381 INFO tuned.plugins.plugin_bootloader: installing additional boot command line parameters to grub2
2018-08-23 06:11:23,381 ERROR tuned.plugins.plugin_bootloader: cannot find grub.cfg to patch, you need to regenerate it by hand by grub2-mkconfig
rigtorp

rigtorp

2018-08-23 12:09

reporter   ~0032574

This has been fixed in upstream release 2.10: https://github.com/redhat-performance/tuned/commit/ed17d4b994f70f7a8a5ab32819cb3150dde13c1e
pgreco

pgreco

2018-08-23 13:53

developer   ~0032576

The patch has been queued for the next tuned update, in the meantime, it can be applied locally.
Thanks!
marcoafv

marcoafv

2018-08-23 14:20

reporter   ~0032577

Thank you guys!

Issue History

Date Modified Username Field Change
2018-05-15 14:06 marcoafv New Issue
2018-05-15 14:24 marcoafv Note Added: 0031819
2018-08-23 11:53 rigtorp Note Added: 0032573
2018-08-23 12:09 rigtorp Note Added: 0032574
2018-08-23 13:53 pgreco Note Added: 0032576
2018-08-23 14:20 marcoafv Note Added: 0032577