Bug 2015811 - [ovirt] install fails: due to terraform error "Cannot attach Virtual Disk: Disk is locked" on vm resource
Summary: [ovirt] install fails: due to terraform error "Cannot attach Virtual Disk: Di...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.8
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 4.9.z
Assignee: Janos Bonic
QA Contact: Veronika Fuxova
URL:
Whiteboard:
Depends On: 1917893
Blocks: 2017258
TreeView+ depends on / blocked
 
Reported: 2021-10-20 07:17 UTC by OpenShift BugZilla Robot
Modified: 2021-11-01 13:44 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2017258 (view as bug list)
Environment:
Last Closed: 2021-11-01 13:44:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5315 0 None open [release-4.9] Bug 2015811: bump oVirt terraform provider version which fix "Disk is locked" bug 2021-10-21 08:25:04 UTC
Red Hat Product Errata RHBA-2021:4005 0 None None None 2021-11-01 13:44:51 UTC

Comment 4 Veronika Fuxova 2021-10-27 13:55:42 UTC
RHV: 4.4.9-0.6.el8ev
OCP: 4.9.0-0.nightly-2021-10-26-041726

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-01 13:44:33 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.9.5 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:4005


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