OpenShift 4.5 IPI on vSphere fails: cannot change the value of "thin_provisioned"

Solution Verified - Updated -

Issue

OpenShift 4.5 IPI on vSphere is failing due to the following error:

$ ./openshift-install create cluster --dir=install --log-level=info
...
INFO The file was found in cache: /home/sstadmin/.cache/openshift-installer/image_cache/187f73af432c837eaa23361023b1656c. Reusing...
INFO Creating infrastructure resources...
ERROR
ERROR Error: error reconfiguring virtual machine: error processing disk changes post-clone: disk.0: cannot change the value of "thin_provisioned" - (old: true new: false)
ERROR
ERROR   on ../../../../../tmp/openshift-install-221125062/bootstrap/main.tf line 1, in resource "vsphere_virtual_machine" "vm":
ERROR    1: resource "vsphere_virtual_machine" "vm" {
ERROR
ERROR
ERROR
ERROR Error: error reconfiguring virtual machine: error processing disk changes post-clone: disk.0: cannot change the value of "thin_provisioned" - (old: true new: false)
ERROR
ERROR   on ../../../../../tmp/openshift-install-221125062/master/main.tf line 1, in resource "vsphere_virtual_machine" "vm":
ERROR    1: resource "vsphere_virtual_machine" "vm" {
ERROR
ERROR
ERROR
ERROR Error: error reconfiguring virtual machine: error processing disk changes post-clone: disk.0: cannot change the value of "thin_provisioned" - (old: true new: false)
ERROR
ERROR   on ../../../../../tmp/openshift-install-221125062/master/main.tf line 1, in resource "vsphere_virtual_machine" "vm":
ERROR    1: resource "vsphere_virtual_machine" "vm" {
ERROR
ERROR
ERROR
ERROR Error: error reconfiguring virtual machine: error processing disk changes post-clone: disk.0: cannot change the value of "thin_provisioned" - (old: true new: false)
ERROR
ERROR   on ../../../../../tmp/openshift-install-221125062/master/main.tf line 1, in resource "vsphere_virtual_machine" "vm":
ERROR    1: resource "vsphere_virtual_machine" "vm" {
ERROR
ERROR
FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply Terraform: failed to complete the change

Environment

  • Red Hat OpenShift Container Platform
    • 4.5
  • vSphere
  • NFS Backing storage for vSphere

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content