Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1665520

Summary: [RFE][OSP16.1] Ability to manage KSM service and have it disabled per default [RHOS-16.1.z]
Product: Red Hat OpenStack Reporter: Martin Schuppert <mschuppe>
Component: openstack-tripleo-heat-templatesAssignee: Martin Schuppert <mschuppe>
Status: CLOSED CURRENTRELEASE QA Contact: Archit Modi <amodi>
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: amcleod, amodi, dmacpher, lyarwood, mbooth, mburns, slinaber, yrachman
Target Milestone: z1Keywords: FutureFeature, TestOnly, Triaged, ZStream
Target Release: 15.0 (Stein)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-10.6.3-0.20200218175828.6bb79e7.el8ost Doc Type: Enhancement
Doc Text:
This update includes the boolean parameter `NovaComputeEnableKsm`. The parameter enables the ksm and ksmtuned service on Compute nodes. You can set this parameter for each Compute role. The default value is `False`.
Story Points: ---
Clone Of: 1653834 Environment:
Last Closed: 2020-09-18 13:57:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1653834, 1782217    
Bug Blocks: 1712898    

Comment 2 Martin Schuppert 2019-02-28 07:48:38 UTC
/usr/lib/systemd/system/ksm.service and /usr/lib/systemd/system/ksmtuned.service are part of qemu-kvm-common-rhev, which is not part of the overcloud image in OSP14+ (at least at the moment). 
[1] introduced a role parameter NovaComputeEnableKsm with which the ksm services can be enabled per compute role:

parameter_defaults:
    ComputeParameters:
        NovaComputeEnableKsm: True
    ComputeRealTimeParameters:
        NovaComputeEnableKsm: False

[1] https://review.openstack.org/631021