Bug 1212836

Summary: Add tuned-adm "verify" subcommand
Product: Red Hat Enterprise Linux 7 Reporter: Jeremy Eder <jeder>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Tereza Cerna <tcerna>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.2CC: jeder, jscotka, jskarvad, mtosatti, tcerna
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tuned-2.5.1-1.el7 Doc Type: Bug Fix
Doc Text:
Cause: Previously there was no way to verify that the profile was successfully applied and that the current system settings match the settings requested in the Tuned profile. Consequence: There may happen various events diverting the current system settings from the settings requested in Tuned profile, e.g. some tools could change some system settings when Tuned is running or new devices which was not recognized by Tuned hotplug could be added. And system administrator couldn't be sure that everything is correctly set. The only thing she/he could do was to reapply the current Tuned profile which is not optimal approach, because it may introduce some transient effects (due to rolling back and reapplying the settings) Fix: The 'verify' command was added to the tuned-adm. Result: It is now possible to verify whether the current system settings match the settings requested in the Tuned profile by: # tuned-adm verify It returns with exitcode 0 if everything is OK, or 1 if there is some problem. Simultaneously it writes to Tuned log what is checked, what is the current value and what is the value expected. If script is used in Tuned profile, it is called with the 'verify' argument during verification and its exit code is checked.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 12:21:35 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:

Comment 35 errata-xmlrpc 2015-11-19 12:21:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2375.html