vSphere IPI tries to access ESXi host API to upload CoreOS image file in OpenShift 4

Solution In Progress - Updated -

Issue

The OpenShift installer tries to upload the RHCOS image file required for deploying coreos template to one of the ESXi hosts instead of uploading it via vCenter:

INFO Obtaining RHCOS image file from 'https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.5/45.82.202008010929-0/x86_64/rhcos-45.82.202008010929-0-vmware.x86_64.ova?sha256=e7fc00902051d3933bde11fe5e25fa6d252f5388a6d6daa54107a756aadcf899'
INFO The file was found in cache: /home/<user>/.cache/openshift-installer/image_cache/abc7fccbe43d10b0fa665c80e3865ac7. Reusing...
INFO Creating infrastructure resources...
ERROR
ERROR Error: failed to upload: Post https://<ESX-host>/disk-0.vmdk: dial tcp <ESX-host>:443: connect: connection timed out
ERROR
ERROR   on ../../../../../tmp/openshift-install-020207499/main.tf line 43, in resource "vsphereprivate_import_ova" "import":
ERROR   43: resource "vsphereprivate_import_ova" "import" {
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

  • OpenShift Container Platform (OCP) 4.x
  • VMware vSphere 6.5+
  • Firewall preventing connection between bastion host and ESXi hosts.

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