Bug 1994410 - When machine creation failed due to validations, error contains "failed to create connection to oVirt API"
Summary: When machine creation failed due to validations, error contains "failed to cr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.9
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.9.0
Assignee: Gal Zaidman
QA Contact: Guy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-17 08:48 UTC by Gal Zaidman
Modified: 2021-10-18 17:47 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:46:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-api-provider-ovirt pull 117 0 None None None 2021-08-17 08:49:12 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:47:06 UTC

Description Gal Zaidman 2021-08-17 08:48:12 UTC
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"

Comment 2 Guy 2021-08-22 08:21:00 UTC
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

Comment 5 errata-xmlrpc 2021-10-18 17:46:55 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


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