Problem description
When attempting to restore a virtual machine (VM) from one ESX host to another using Druva. The restore operation is failing immediately with the error code VMWARE_VMOM15.
Cause
The discrepancy in ESX host versions and hardware versions is preventing the VM from being restored successfully.
i.e: Source ESX host version is running on a Higher ESX and Hardware version.
Traceback
Job Details logs “EnterpriseWorkloadsFL.20240805-101146-49680” may show following error
[2024-08-05 10:12:26,788] [ERROR] SyncError: The virtual machine version is not compatible with the version of the host xxxxxxxxx.
[2024-08-05 10:12:26,789] [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 xxxxxxxxx.",
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) [],
hostName = xxxxxxxxx,
host = 'vim.HostSystem:host-216'
}. Traceback -Traceback (most recent call last):
File "agents/vmware/create_vm.py", line 60, in _create_vm
File "agents/vmware/tasks.py", line 64, 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 xxxxxxxxx.",
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) [],
hostName = xxxxxxxxx,
host = 'vim.HostSystem:host-216'
}
Solution:
To resolve this issue, follow these steps:
Check Compatibility:
Verify that the source and destination ESX hosts are compatible with each other. Refer to VMware's compatibility guides to ensure that the VM hardware version is supported on both ESX hosts.
Upgrade Destination ESX Host:
Upgrade the destination ESX host to the same version as the source ESX host, i.e., from version 6.5 to 6.7.
After the upgrade, verify that the hardware version of the destination host supports H/W version.
Downgrade VM Hardware Version (if upgrading is not possible):
If upgrading the destination ESX host is not feasible, consider downgrading the VM hardware version on the source host to match the destination host's hardware version.
Before downgrading, ensure that all features and functionalities required by the VM are supported on the lower hardware version.
Perform the Restore Operation Again:
After confirming that the source and destination ESX hosts are compatible, try performing the restore operation again using Druva.