Bug 1158407

Summary: sapconf does not activate "sap-netweaver" tuned profile
Product: Red Hat Enterprise Linux 6 Reporter: Frank Danapfel <fdanapfe>
Component: sapconfAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact:
Priority: high    
Version: 6.6CC: amascari, fskola, jherrman, lmiccini, rvokal, tlavigne
Target Milestone: rcKeywords: ZStream
Target Release: 6.6   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Prior to this update, the sapconf package was not updated to reflect the changes made to the profiles of the tuned daemon for SAP NetWeaver. As a consequence, the activation of a tuned profile searched for the deprecated "sap" profile and therefore failed. With this update, using the "sapconf" command installs the tuned-profiles-sap package if it is not already installed, and the TUNED_SAP_PROFILE variable has been changed to "sap-netweaver". As a result, sapconf now properly uses the "sap-netweaver" profile and activating a tuned profile proceeds as expected.
Story Points: ---
Clone Of:
: 1158409 1158902 (view as bug list) Environment:
Last Closed: 2015-07-22 06:38:52 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:
Bug Depends On:    
Bug Blocks: 1018941, 1158902    
Attachments:
Description Flags
patch to modify sapconf to activate the "sap-netweaver" profile none

Description Frank Danapfel 2014-10-29 10:18:32 UTC
Description of problem:
Since the tuned profiles for SAP NetWeaver are now shipped via the "tuned-profiles-sap" package (see https://bugzilla.redhat.com/show_bug.cgi?id=1153063) and the "sap" profile has been renamed to "sap-netweaver", sapconf needs to be updated.

Version-Release number of selected component (if applicable):
sapconf-0.98-2.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. install sapconf
2. run sapconf
3. check active tuned profile

Actual results:
- only tuned package is installed as dependency:
# yum install sapconf
...
Installing for dependencies:
 tuned    noarch     0.2.19-13.el6_6.1    rhel-x86_64-server-6     94 k

- tuned profile activation fails with "Unable to activate tuned 'sap' profile."

Expected results:
- sapconf rpm should have "tuned-profiles-sap" as dependency
- TUNED_SAP_PROFILE variable needs to be changed from "sap" to "sap-netweaver"

Additional info:

Comment 2 Frank Danapfel 2014-10-29 10:40:06 UTC
Created attachment 951739 [details]
patch to modify sapconf to activate the "sap-netweaver" profile

Comment 7 errata-xmlrpc 2015-07-22 06:38:52 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-1329.html