"openshift-install" fails to connect to vSphere host
Issue
-
When running the
openshift-installer, uploading the OVA fails with the following error message:$ ./openshift-install create cluster --log-level debug [..] DEBUG vsphereprivate_import_ova.import: Creating... DEBUG vsphereprivate_import_ova.import: Still creating... [10s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [20s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [30s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [40s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [50s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [1m0s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [1m10s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [1m20s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [1m30s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [1m40s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [1m50s elapsed] DEBUG vsphereprivate_import_ova.import: Still creating... [2m0s elapsed] ERROR ERROR Error: failed to upload: Post "https://esxhost.example.com/nfc/1c9db85a-accb-11eb-8529-0242ac130003/disk-0.vmdk": dial tcp 172.0.0.10:443: connect: connection timed out ERROR ERROR on ../../../tmp/openshift-install-087721138/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
- VMware vSphere
- Red Hat OpenShift Container Platform (OCP) 4.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.