Bug 1912828

Summary: Align High Performance VMs with High Performance in RHV-UI
Product: OpenShift Container Platform Reporter: Gal Zaidman <gzaidman>
Component: InstallerAssignee: Gal Zaidman <gzaidman>
Installer sub component: OpenShift on RHV QA Contact: michal <mgold>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: gdeolive, mburman, mgold
Version: 4.7   
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:49:43 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:

Description Gal Zaidman 2021-01-05 11:57:12 UTC
Currently, the installer sets VMs to High-Performance profile (default) by creating them with the High-Performance profile in terraform, but the terraform provide doesn't set up the same parameters as setting up High-Performance in the UI.
PR[1] aligns the terraform code with what the ovirt UI is doing when enabling High-Performance, meaning configures:
- CPU host passthrough
- Disable ballooning
- Enable serial console
- Make the VM headless

That means that when setting a VM to High-Performance will cause the following:
1. Making the VM headless and enabling serial console will allow getting the VM screen but not using RHV UI, meaning it will be harder to debug if the VM crashes at an early stage... that is ok because VMs are cattle not pets in OCP.
Benefit - performance of the VM
2. Do to a bug in oVirt, mem stats will not be reported in RHV UI.

All that for better performance

We need to basically rebase on [1] once it is merged

Platform:
oVirt

How to reproduce it:
Install a cluster with the VMs on High performance and see the flags of the create VMs

[1] https://github.com/oVirt/terraform-provider-ovirt/pull/236

Comment 1 Gal Zaidman 2021-01-21 08:56:17 UTC
*** Bug 1848922 has been marked as a duplicate of this bug. ***

Comment 3 michal 2021-02-02 13:11:33 UTC
version: 
rhv- 4.4.4.7-0.1
ocp -4.7.0-0.nightly-2021-01-31-023653

steps:
1) Install a cluster with the VMs on High performance for master and worker node
2) verify that special configuration implements on rhv UI for worker and master node 

special configuration:

 CPU host passthrough
- Disable ballooning
- Enable serial console
- Make the VM headless

actual: 
when installing vms with High Performance,  special configuration implement only for master node

Comment 6 errata-xmlrpc 2021-02-24 15:49:43 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633