This article applies to Phoenix Cloud
Problem description
VM restore to an alternate ESXi host having a lower version fails with the following error message:
The virtual machine version not compatible with the version of the host.
Cause
Hardware version mismatch between the restored VM and the destination host/datastore.
Traceback
In this example, the VM has VMX (hardware) version 13. Therefore to restore this VM, the destination host must have ESXi version 6.5 and destination datastore must have VMFS version 6.
{snip} [2017-08-29 08:02:59,032] [ERROR] SyncError: VMware VMOMI: Internal Error [2017-08-29 08:02:59,033] [ERROR] Error <class 'pyVmomi.VmomiSupport.vim.fault.VirtualHardwareVersionNotSupported'>:(vim.fault.VirtualHardwareVersionNotSupported) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], msg = "The virtual machine version is not compatible with the version of the host 'nlbalvrtl58.infor.com'.", faultCause = <unset>, faultMessage = (vmodl.LocalizableMessage) [], hostName = 'nlbalvrtl58.infor.com', host = 'vim.HostSystem:host-204399' }. Traceback -Traceback (most recent call last): File "agents/vmware/create_vm.py", line 59, in _create_vm File "agents/vmware/tasks.py", line 60, in wait_for_tasks vim.fault.VirtualHardwareVersionNotSupported: (vim.fault.VirtualHardwareVersionNotSupported) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], msg = "The virtual machine version is not compatible with the version of the host 'nlbalvrtl58.infor.com'.", faultCause = <unset>, faultMessage = (vmodl.LocalizableMessage) [], hostName = 'nlbalvrtl58.infor.com', host = 'vim.HostSystem:host-204399' }
[2017-08-29 08:02:59,033] [ERROR] Error <class 'inSyncLib.inSyncError.SyncError'>:VMware VMOMI: Internal Error (#10006ffff : vim.fault.VirtualHardwareVersionNotSupported). Traceback -Traceback (most recent call last): File "agents/vmware/vmwareAgent.py", line 2167, in _process_restore_start File "agents/vmware/vSphereAdapter.py", line 985, in create_new_vm File "agents/vmmware/create_vm.py", line 306, in create_vm_from_old_config File "agents/vmware/create_vm.py", line 70, in _create_vm File "inSyncLib/inSyncError.py", line 29, in raise_error SyncError: VMware VMOMI: Internal Error (#10006ffff : vim.fault.VirtualHardwareVersionNotSupported) {snip}
Resolution
You can resolve this issue using one of the following options:
Check for ESXi version of the destination host and VMFS version of destination datastore.
You can also suggest the customer to restore on any other ESX host having ESXi version 6.5 and datastore having VMFS version 6.