Description of problem: Sometimes oVirt installer fails due to terraform error: ``` level=debug msg=2021-01-22T22:22:44.534Z [DEBUG] plugin.terraform-provider-ovirt: 2021/01/22 22:22:44 [DEBUG] Failed to wait for Templte(efcb7a8f-8f61-46d0-be46-9ba0d1170d82) to become ok: couldn't find resource (21 retries) level=error msg=Error: couldn't find resource (21 retries) level=error level=error msg= on ../tmp/openshift-install-088314764/template/main.tf line 78, in resource "ovirt_template" "releaseimage_template": level=error msg= 78: resource "ovirt_template" "releaseimage_template" { level=error level=error level=fatal msg=failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply Terraform: failed to complete the change ``` I saw it while there was huge pressure on CI, notice that the timeout hire is 4m[1], maybe worth trying to increase it. happend 4 times past 14 days: - https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-ovirt-4.7/1352739628699881472 - https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/15125/rehearse-15125-pull-ci-openshift-csi-external-snapshotter-release-4.7-e2e-ovirt/1353620724668960768 - https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/15125/rehearse-15125-pull-ci-openshift-csi-livenessprobe-release-4.7-e2e-ovirt/1353620716271964160 - https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-ovirt-4.7/1352014442572812288 [1] https://github.com/oVirt/terraform-provider-ovirt/blob/master/ovirt/resource_ovirt_vm_template.go#L419
Pushing to next sprint
due to capacity constraints, we will be revisiting this bug in the upcoming sprint
This will be fixed when we switch to the new client library.
Fixed in 2082283
(In reply to Janos Bonic from comment #5) > Fixed in 2082283 Fixed in bz 2082283
The issue is gone. Such terraform errors no longer visible in the installer. Verified on - 4.11.0-0.nightly-2022-06-22-235234 and rhvm-4.5.1.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 (Important: OpenShift Container Platform 4.11.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-2022:5069