OpenShift 4.8 IPI installation on vSphere fails due to insufficient user privileges

Solution Verified - Updated -

Issue

  • Installation on vSphere fails due to insufficient user privileges after giving necessary permissions to the vSphere user by following the documentation but the installation was failed due to the following error:
time="2021-08-20T14:11:50+02:00" level=debug msg="vsphereprivate_import_ova.import: Still creating... [16m20s elapsed]"
time="2021-08-20T14:11:53+02:00" level=error
time="2021-08-20T14:11:53+02:00" level=error msg="Error: failed to mark vm as template: ServerFaultCode: Permission to perform this operation was denied."
time="2021-08-20T14:11:53+02:00" level=error
time="2021-08-20T14:11:53+02:00" level=error msg="  on ../../../tmp/openshift-install-184107193/main.tf line 44, in resource \"vsphereprivate_import_ova\" \"import\":"
time="2021-08-20T14:11:53+02:00" level=error msg="  44: resource \"vsphereprivate_import_ova\" \"import\" {"
time="2021-08-20T14:11:53+02:00" level=error
time="2021-08-20T14:11:53+02:00" level=error
time="2021-08-20T14:11:53+02:00" 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"

Environment

  • Red Hat OpenShift Container Platform
    • 4.8
  • VMware 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