HCX - Unable to deploy/redeploy HCX appliances - OVF upload failed
search cancel

HCX - Unable to deploy/redeploy HCX appliances - OVF upload failed

book

Article ID: 373433

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • Deploy or Redeploy HCX appliances shows the error below

Workflow OVFUpload failed. Error: Connection timed out

  • In HCX manager /common/logs/admin/app.log, the following error is seen
2024-07-10 13:48:41.499 UTC [InterconnectService_SvcThread-29355, J:a428b267, , TxId: ########-####-####-####-########] ERROR c.v.v.h.s.i.InitiateApplianceOperation- UpgradeAppliance failed, errorCode:null. stacktrace:null, errorMessage:Interconnect Service Workflow InterconnectRedeploy failed. Error: Redeploy of Interconnect Appliance failed. Interconnect Service Workflow InterconnectRedeploy failed. Error:  Deploy and Configuration of Interconnect Appliances Failed. Interconnect Service Workflow DeployAppliance failed. Error: Interconnect Service Workflow OvfUpload failed. Error: Connection timed out (Connection timed out)

 

Environment

HCX 4.x

Cause

The required TCP ports (80, 443, 902) should be open between the HCX manager, vCenter and ESXi host.

 

Resolution

  • Ensure that the HCX is connecting to the right vCenter URL to upload the OVF file
  • Under /common/logs/admin/app.log, validate that the connection is being established with the right vCenter Server
2024-07-10 13:45:18.923 UTC [OvfUploadService_SvcThread-20, Ent: HybridityAdmin, , TxId: ########-####-####-####-#######] INFO  c.v.v.h.s.ovfupload.OvfUploadJob- Uploading file file:/common/appliances/vcc/4.9.1.0/VCCGateway-4.9.1.0-23822403-disk1.vmdk to https://vc-fqdn:xxxxx/nfc/########-####-####-####-########/disk-0.vmdk
  • Make a note of the TxId and Nfc Id in the above output.
  • Login to the vCenter server via ssh/putty as root and verify the OVF upload task is acknowledged by the vCenter from the corresponding ESXi host.
  • In /var/log/vmware/vpxd/vpxd.log, search for the TxId and Nfc Id
2024-07-10T13:45:18.496Z info vpxd[06745] [Originator@6876 sub=MoHttpNfcLease opID=########-####-####-####-##########] Host URL: https://<ESXi-IP>OR<HOSTNAME>/nfc/########-####-####-####-########/, target ID: disk-0.vmdk
  • In the output above, make a note of FQDN or IP for the ESXi host chosen to perform the OVF deployment.

On HCX manager 

  • Login to the HCX manager as user admin and run the following commands to ensure the necessary ports are open by running the commands below.
curl -kv https://<vCenter-FQDN-IP>:443
curl -kv https://<ESXi-FQDN-IP>:80
curl -kv https://<ESXi-FQDN-IP>:443
curl -kv https://<ESXi-FQDN-IP>:902

On vCenter server

  • Login to the vCenter server as user root and run the following commands to ensure the necessary ports are open by running the commands below.
curl -kv https://<HCX-Manager-FQDN-IP>:443


Refer to the following documentation to know the list of all the required ports for HCX environment HCX Port requirements

Additional Information