Issue:

In vSphere 6.5, option to save the VM export in OVA format seems to be missing in both web client and HTML5 client (Right click VM > Template > Export OVF Template).

Workaround:

Use ovftool to export the VM as either OVF or OVA. Path locator formats to get the source VM are documented in ovftool user guide. In the below example VM named iaas1 is exported from under CSA datacenter (vm is the default folder name).

Example:

C:\Program Files\VMware\VMware OVF Tool>ovftool vi://@vcsa1.prasan.com/CSA/vm/iaas1 c:\iaas.ova
Enter login information for source vi://vcsa1.prasan.com/
Username: administrator@prasan.local
Password: **********
Opening VI source: vi://administrator%40prasan.local@vcsa1.prasan.com:443/CSA/vm/iaas1
Opening OVA target: c:\iaas.ova
Writing OVA package: c:\iaas.ova
Transfer Completed
Completed successfully

 

Side Note:

Issue: The OVF export is only saving the vmdk, and the export is missing the .ovf and .mf files

Cause: Browser pop up blocker blocks the export of .ovf file causing only the vmdk to be exported. Allow pop up in the browser settings and restart the ovf export again to download all the files.

 

3 thoughts

  1. getting aboove error while converting vm into ova using below command.
    ovftool vi://10.21.87.00/VW0.DEV/vm/testovawindowappliance C:\testovawindowappliance.ova

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s