VMware Import Error

I exported a VM from an ESXi host yesterday and I tried to import it to a cluster but I got the following error:

"OVF Deployment Failed: File ds:///vmfs/volumes/uuid/_deviceImage-0.iso was not found"

This happened because I had connected an .iso file to the CD/DVD device and that file was not available on the destination host.

To overcome this issue you may edit the .ovf file created by the export process and replace the "vmware.cdrom.iso" to "vmware.cdrom.remotepassthrough" option.

The tricky part now, when you edit the file, the checksum of the file is changed so you have to update it on the .mf file created also be the export process. Get the file's SHA1 checksum using your favourite tool and set it in the .mf file.

Then, you're good to go, you should be able to import the VM without any problems.

As a final note, I would suggest you made backup copies of the two files above in order to avoid exporting the VM again.

Documented on this VMware KB.

Popular posts from this blog

Domain Controller Machine Password Reset

Configuring a Certificate on Exchange Receive Connector

Verbose Parameter Passing to cmdlet inside Function