Description of problem: When you create a machine with an invalid field that fails the validations, for example, OSDisk.SizeGB field set to 0 the error will contain "failed to create connection to oVirt API How reproducible: Steps to Reproduce: 1. Create a machineset with an invalid field. for example, OSDisk.SizeGB field set to 0. 2. Look at the reason that it is on Failed, `oc describe machine MACHINE_NAME` 3. See it is something like "failed to create connection to oVirt API: OS Disk (os_disk) *SizeGB* must be specified" Expected results: "error validating machine fields: OS Disk (os_disk) *SizeGB* must be specified"
Verified in OpenShift Cluster version is 4.9.0-0.nightly-2021-08-19-125540 and engine ovirt-engine-4.4.8.2-0.11.el8ev.noarch
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