Description
Users may encounter a specific error when attempting to import a Cymetricx image file (.ova) into VMware ESXi. The error message typically reads:
"Issues detected with selected template. Details: - -1:-1:VALUE_ILLEGAL: No supported hardware versions among [vmx-14]; supported: [vmx-04, vmx-07, vmx-08, vmx-09, vmx-10, vmx-11, vmx-12, vmx-13, vmx-14].”
This indicates a compatibility issue between the VMware ESXi version and theova template being used.
Environment
Cause
The error arises due to a mismatch between the VMware ESXi version and the hardware versions supported by the .ova template.
Recommended Actions
1- File Conversion and Extraction: Change the extension of the file from .ova to .zip and extract the file using an archiver tool like WinRAR or 7zip. the extracted file should contain the following: an ovf file, .mf file and .vmdk file.
2- Edit the .ovf File: Edit the extracted .ovf file with a text editor (e.g., Notepad).
3- Modify Virtual System Type: Locate the line:
<vssd:VirtualSystemTypevmx-15</vssd:VirtualSystemType>
and adjust it according to the ESXi version's supported hardware. For instance, change vmx-15
to vmx-14
, based on the error message.
Change it to
<vssd:VirtualSystemTypevmx-14</vssd:VirtualSystemType>
4- Save Changes: After modification, save the .ovf file.
5- Update File Hash: Generate a new SHA256 hash for the edited .ovf file using PowerShell:
(Get-FileHash **<OVF FILENAME>**.ovf -Algorithm SHA256 | Select-Object -ExpandProperty Hash).ToLower()
Note: since the filename of the .ovf file would be similar to “CentOS+8+64-bit_v4.0_1.4.163_Migration_02092023_ESXI6.7” then the command would be
(Get-FileHash CentOS+8+64-bit_v4.0_1.4.163_Migration_02092023_ESXI6.7.ovf -Algorithm SHA256 | Select-Object -ExpandProperty Hash).ToLower()
Example
6- Modify .mf File: Replace the contents of the .mf file with the new SHA256 hash obtained in the previous step.
Additional Notes