Bug 1912828 - Align High Performance VMs with High Performance in RHV-UI
Summary: Align High Performance VMs with High Performance in RHV-UI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Gal Zaidman
QA Contact: michal
URL:
Whiteboard:
: 1848922 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-05 11:57 UTC by Gal Zaidman
Modified: 2021-02-24 15:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:49:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 4562 0 None closed Bug 1912828: Rebase on the latest terraform provider/go-ovirt 2021-01-31 18:37:08 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:50:10 UTC

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


Note You need to log in before you can comment on or make changes to this bug.