Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

RESOLVED : FAIL TO DEPLOY OVF TEMPLATE - TASK CANCELED BY USER

June 6, 2016 11:55PM

Recently I setup my complete lab from scratch, and whenever I do it either I face some new issues or the old problems I faced earlier, now in this article I am going to document on the one of the old problem I always face in absence of DNS server. As my complete lab is on VMWare Workstation, and VMs include vCenter Server, Esxi server (I have build my DNS server and configured it in PART 4 : CONFIGURING DNS SERVER FOR VMWARE VSPHERE LAB), and when I connect vCenter from my desktop OS and try to deploy OVF/OVA template I get below error message with task failed. (OVF file integrity and other things are all ok), Even after trying from vSphere web client and vSphere client (desktop) but no luck.

Deploy OVF Template - The task was canceled by a user.
Initialize OVF deployment - Connection to the remote resource was lost. Check your network connection.

This error is getting due to my desktop computer is not able to resolve ESXi server hostname and active directory domain controller yet to be build, it contains DNS server as well. For time being work around is to edit Hosts file under C:\Windows\System32\drivers\etc in notepad (run as an administrator). And add static entries for ESXi server. On right hand side I Pinged Esxi001 but failed and after updating host file with IP and esxi server entry, i am able to ping server from my desktop successfully.  

And when I tried redeploying OVF / OVA template, It was successful, and I was able to see new deployed VM in inventory.

Useful blogs on troubleshooting
RESOLVED : ADDING VIRTUAL HARD DISK GRAYED OUT ON VIRTUAL MACHINE
RESOLVED : FAIL TO DEPLOY OVF TEMPLATE - TASK CANCELED BY USER

Go Back

Comment