Bug 1972747

Summary: Allow Cluster-api-provider-ovirt using auto pinning new namings
Product: OpenShift Container Platform Reporter: Liran Rotenberg <lrotenbe>
Component: Cloud ComputeAssignee: Liran Rotenberg <lrotenbe>
Cloud Compute sub component: oVirt Provider QA Contact: Guy <gafik>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: gzaidman, mburman
Version: 4.8   
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, when using the automatic pinning for a VM, the name of the property was: "disabled", "existing" or "adjust". Now, it describes better each policy, and `existing` was removed as it's blocked on oVirt. The new property names are: "none" and "resize_and_pin" which aligns with oVirt UI.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:34:35 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: 1987182    

Description Liran Rotenberg 2021-06-16 14:46:34 UTC
Since ovirt 4.4.7 we changed the names of the policies in the UI. To have better user experience, let's allow it on the cluster-api-provider. Then the user will be aligned with the UI view.

The new names:
disabled == none
existing == pin
adjust == resize_and_pin

Comment 3 Guy 2021-07-07 08:37:57 UTC
Verified in engine version ovirt-engine-4.4.7.6-0.11.el8ev.noarch
and openshift cluster version 4.9.0-0.nightly-2021-07-05-092650

Comment 6 errata-xmlrpc 2021-10-18 17:34:35 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.9.0 bug fix and security 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-2021:3759