VMware

How to export VMware Fusion’s VM to support ESXi 6.x+

I have a VMware Fusion VM that has its hardware version set to 15 and I keep having issues with customers trying to import my exported OVA into their VMware ESXi infrastructure, even when I set the VMware HW Version to 6. Here’s what I run every time I need to export this VM:

`/Applications/VMware` [`Fusion.app/Contents/Library/VMware`](https://Fusion.app/Contents/Library/VMware) `OVF Tool/ovftool –maxVirtualHardwareVersion=06 MyVM.vmx MyVM.ova`

This is the most common issue I’ve gotten:

​

[ESXi Import Error](https://preview.redd.it/zinemgigxn751.png?width=786&format=png&auto=webp&s=c628596aaa74ca40f7097b19e41a08dde36f7161)

So, the next thing I did was append the –shaAlgorithm option, such as the following:

`/Applications/VMware` [`Fusion.app/Contents/Library/VMware`](https://Fusion.app/Contents/Library/VMware) `OVF Tool/ovftool –maxVirtualHardwareVersion=06 –shaAlgorithm=SHA1 MyVM.vmx MyVM.ova`

After doing this, the customer then got the next error:

[ESXi Import Error 2](https://preview.redd.it/a2eh8bspxn751.png?width=559&format=png&auto=webp&s=51402905cea61eb46b527d0bd429ebc388c7c48a)

So the next thing I did was increased the HW Version from 06 to 07, such as the following:

`/Applications/VMware` [`Fusion.app/Contents/Library/VMware`](https://Fusion.app/Contents/Library/VMware) `OVF Tool/ovftool –maxVirtualHardwareVersion=07 –shaAlgorithm=SHA1 MyVM.vmx MyVM.ova`

Afterwards, they received the next error:

[ESXi Import Error 3](https://preview.redd.it/wor7r2uwxn751.png?width=504&format=png&auto=webp&s=2cfd9e5906d79dfef67b118c6658a7e3eb679f58)

So now I’m unsure what else to do. When researching the error above, I end up at the following VMware article: [https://kb.vmware.com/s/article/2152046](https://kb.vmware.com/s/article/2152046). However, the only three values in the vmx file that I see as -1 are usb:0.parent = “-1”, usb:1.parent = “-1”, and ehci:0.parent = “-1”.

Here’s a copy of my VMX file: [https://pastebin.com/W723k7i2](https://pastebin.com/W723k7i2)

At this point, I’m constantly having to make small changes, re-export, have customers re-download, rinse and repeat, and it’s becoming inconvenient. I don’t have an ESXi environment myself to test this, so I’m reaching out to see if there’s any way that I could sort of “prepare” a VM for exporting so that I can avoid these issues in the future.

Any help would be greatly appreciated.


View Reddit by altjxxxView Source

Related Articles

2 Comments

  1. Your VM likely needs features of a new vm hardware version. See this KB to find the highest vm hardware version supported by your target esx release, and try that instead.
    [https://kb.vmware.com/s/article/2007240](https://kb.vmware.com/s/article/2007240)

    To get past manifest errors you can skip manifest generation. Assorted VMware tooling periodically disagrees on the particulars of the manifest format, so this kind of this has been known to happen.

Leave a Reply

Your email address will not be published. Required fields are marked *

Close