Bug 1547954

Summary: [RFE][Deployment] add ability to configure extra CPU flags for named CPU models
Product: Red Hat OpenStack Reporter: Lee Yarwood <lyarwood>
Component: puppet-novaAssignee: Rajesh Tailor <ratailor>
Status: CLOSED ERRATA QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: berrange, ccopello, dasmith, eglynn, jamsmith, jhakimra, jjoyce, jschluet, kchamart, lyarwood, mtessun, nlevinki, owalsh, ratailor, rhos-docs, sbauza, sgordon, slinaber, srevivo, tvignaud, vromanso
Target Milestone: Upstream M2Keywords: FutureFeature, InstallerIntegration, Triaged
Target Release: 14.0 (Rocky)Flags: ratailor: needinfo+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-nova-13.1.1-0.20180709142740.fa5ce48.el7ost Doc Type: Enhancement
Doc Text:
With this release, Nova's libvirt driver now allows the specification of granular CPU feature flags when configuring CPU models. One benefit of this change is the alleviation of a performance degradation experienced on guests running with certain Intel-based virtual CPU models after application of the "Meltdown" CVE fixes. This guest performance impact is reduced by exposing the CPU feature flag 'PCID' ("Process-Context ID") to the *guest* CPU, assuming that the PCID flag is available in the physical hardware itself. For more details, refer to the documentation of ``[libvirt]/cpu_model_extra_flags`` in ``nova.conf`` for usage details.
Story Points: ---
Clone Of: 1398343
: 1571741 1571744 1571750 1571756 (view as bug list) Environment:
Last Closed: 2019-01-11 11:48:58 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:
Bug Depends On: 1398343, 1570610, 1570611, 1570614, 1570617    
Bug Blocks: 1571741, 1571744, 1571750, 1571756    

Comment 6 Rajesh Tailor 2018-10-22 07:22:16 UTC
This feature can be enabled by setting below parameter in an environment file.
You can pass list of cpu model flags.

parameter_defaults:
  ComputeExtraConfig:
    nova::compute::libvirt::libvirt_cpu_model_extra_flags: 'PCID, pdpe1gb'

Comment 11 errata-xmlrpc 2019-01-11 11:48:58 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://access.redhat.com/errata/RHEA-2019:0045