Recently support for NPAPI has been removed from Google Chrome. While understandable from a security point of view it does mean that some plugins no longer work.

A good example is VMware’s Client Integration Plugin where we’ve lost the ability to upload an ovf template. While VMware has published a fix for vCenter (see this kb), it has not been fixed for vCloud Director:

The attempted operation cannot be performed using this browser. Re-try using an alternative method:

- Use the VMware OVF Tool to perform the operation. You can download the OVF Tool and its User Guide from the OVF Tool product page at https://www.vmware.com/support/developer/ovf/.
- Use a browser and platform combination that is supported by vCloud Director for this operation. For the supported browser and platform combinations, see the Release Notes for this version of vCloud Director.

To upload the ovf you need ovf tool (as the warning indicates), this comes with the integration plugin, on my machine it’s located in c:\Program Files (x86)\VMware\Client Integration Plug-in 6.0\ovftool.exe.

William Lam’s blog article describes the procedure with ovftool with the following example commandline:

It’s a bit troublesome to form the vcloud locator as we need to escape special characters such as spaces and combine all the arguments with & characters.

So I created a PowerShell script that wraps ovftool and makes this all nice and easy for you. Let’s see how it works!

If you don’t specify parameters, the script will ask you for Catalog, Computername, Organization and Credentials:

image

The script has a hardcoded path to ovftool but if it cannot find it will popup a browse dialog:

image

Download PowerShell script to upload OVA/OVF to vCloud Director or vCloud Air