Image based provisioning

Problem: I can’t provision new VMs using Vsphere 6.0 templates. Tried with both ova and ovf templates . First i exported the vm as ova template and then uploaded it to datastore. Similarly did it for ovf templates, but getting following error :

“Selected image does not belong to VMware (VMware)”

Expected outcome: New VMs should be provisioned based on templates

Foreman and Proxy versions: 1.20.1 and 1.20.1

vSphere client and VMware Esxi versions: 6.0 and 6.0