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

Bug 1846070

Summary: [OPS16.1][RFE] Expected Tripleo Hiera data for tuning parameter “cpu_mode” and “cpu_model_extra_flags”
Product: Red Hat OpenStack Reporter: Pradipta Kumar Sahoo <psahoo>
Component: openstack-tripleo-heat-templatesAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: James Parker <jparker>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: aschultz, beagles, fbaudin, fpantano, igallagh, jparker, mburns, mgarciac, mschuppe, ratailor
Target Milestone: z3Keywords: FutureFeature, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20200914170164.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 18:35:45 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:    
Bug Blocks: 1906343    

Description Pradipta Kumar Sahoo 2020-06-10 17:18:06 UTC
Description of problem:
In NFV-RT-based deployment, the nova-compute configuration needs a further tunning with below parameters.

# grep ^[^#] /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf | grep -E "mem_stats_period_seconds|cpu_mode|cpu_model_extra_flags"
cpu_mode=host-passthrough
cpu_model_extra_flags=tsc-deadline
mem_stats_period_seconds=0

We have tripleo hiredata "NovaLibvirtMemStatsPeriodSeconds: 0" to set nova.conf file with the following parameter "mem_stats_period_seconds=0"

Hence we need similar options for other to parameters:
cpu_mode=host-passthrough
cpu_model_extra_flags=tsc-deadline

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux release 8.2 (Ootpa)
Red Hat OpenStack Platform release 16.1 (Train)

How reproducible: 100% reproduced in NFV perf lab.


Steps to Reproduce:
We have tried with following tripleo environment options but didn't help.
    NovaLibvirtCpuMode: host-passthrough
    NovaLibvirtCpuModelExtraFlags: tsc-deadline

Comment 23 Martin Schuppert 2020-11-25 10:25:03 UTC
This introduced https://bugzilla.redhat.com/show_bug.cgi?id=1901004

Comment 31 errata-xmlrpc 2020-12-15 18:35:45 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 (Red Hat OpenStack Platform 16.1.3 bug fix and enhancement 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-2020:5413