Bug 2017258

Summary: [ovirt] install fails: due to terraform error "Cannot attach Virtual Disk: Disk is locked" on vm resource
Product: OpenShift Container Platform Reporter: Gal Zaidman <gzaidman>
Component: InstallerAssignee: Gal Zaidman <gzaidman>
Installer sub component: OpenShift on RHV QA Contact: Veronika Fuxova <vfuxova>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: urgent CC: apoczeka, aygarg, dgautam, gveitmic, jpasztor, kechung, kurathod, mburman, openshift-bugs-escalate, openshift-bugzilla-robot, pelauter, pkhaire, plarsen, prdeshpa, vfuxova, ymotiyel
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2015811 Environment:
Last Closed: 2021-11-11 20:12:09 UTC Type: ---
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: 2015811    
Bug Blocks:    

Comment 3 Veronika Fuxova 2021-10-29 12:31:24 UTC
RHV: 4.4.9.3-0.3.el8ev
OCP: 4.8.0-0.nightly-2021-10-28-175240

Steps: 
1) Started an installation of OCP on RHV
2) Verified that this error doesn't appear 

level=error msg=Error: failed to attach disk: Fault reason is "Operation Failed". Fault detail is "[Cannot attach Virtual Disk: Disk is locked. Please try again later.]". HTTP response code is "409". HTTP response message is "409 Conflict".
level=error
level=error msg=  on ../tmp/openshift-install-367614815/template/main.tf line 46, in resource "ovirt_vm" "tmp_import_vm":
level=error msg=  46: resource "ovirt_vm" "tmp_import_vm" {
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

3) Cancelled the installation when the installer printed "INFO Waiting up to 20m0s for the Kubernetes API at ..."
4) Repeated the process 3 times 

Expected behavior: 
No error in the installation process. 

Actual behavior: 
No error in the installation process.

Comment 6 errata-xmlrpc 2021-11-11 20:12:09 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 (OpenShift Container Platform 4.8.19 bug fix 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/RHBA-2021:4109