IBM Support

Restore virtual machine to alternate ESXi host fails with ANS9365E and API return code : 2722 and 84

Troubleshooting


Problem

When trying to restore a Virtual machine to an alternate Esxi host the restore fails with the below errors:
 ANS9365E VMware vStorage API error for virtual machine 'VM_name'.
IBM Spectrum Protect function name : CreateVM_USCORETask
IBM Spectrum Protect file          : ..\..\common\vm\vmvisdk.cpp
API return code   : 2722
API error message : The virtual machine version is not compatible with the version of the host 'host_name'.

ANS5250E An unexpected error was encountered.
IBM Spectrum Protect function name : vmCreateNewVmMachine
IBM Spectrum Protect function      : Can not create virtual machine
IBM Spectrum Protect return code   : 4389
IBM Spectrum Protect file          : ..\..\common\vm\vmcommonrestvddk.cpp
ANS9404E Error creating the specified Virtual Machine. See log files for more information.
ANS9365E VMware vStorage API error for virtual machine 'VM_name'.
IBM Spectrum Protect function name : CreateVM_USCORETask
IBM Spectrum Protect file          : ..\..\common\vm\vmvisdk.cpp (6836)
API return code   : 84
API error message : The operation is not supported on the object.
 
ANS4177E Full restore of VMware virtual machine 'VM_name' failed with RC=4389, mode='Full', target node name='Datacentrer_node', data mover node name='Datamover_node'

ANS9404E Error creating the specified Virtual Machine. See log files for more information.

Cause

The virtual machine hardware version is not compatible with the Esxi host version that it's being restored to.

Environment

IBM Spectrum Protect for Virtual Environments Data Protection for VMware on all supported platforms.

Diagnosing The Problem

1- If the virtual machine that is being restored is not deleted, its hardware version can be confirmed from the output of the "dsmc show vm vm_name -optfile=DM_optfile"  in a similar output as below:
vmHWversion: vmx-11
The VM hardware version can also be determined from the vSphere web client as per the following screenshot :
image 8649
2- If the virtual machine was deleted, A VE trace can collected to determine the Hardware version :
[001288] [1788] : ..\..\common\vm\visdkdevices.cpp(9248): visdkCreateOrUpdateVmWithDeviceOptions: vm name 'VM_name'
[001288] [1788] : ..\..\common\vm\visdkdevices.cpp(9249): id 'windows9Server64Guest'
[001288] [1788] : ..\..\common\vm\visdkdevices.cpp(9250): version 'vmx-11'

Resolving The Problem

Make sure that the VM is restored to a compatible Esxi version as per the compatibility list link below to avoid these errors :
ESXi/ESX hosts and compatible virtual machine hardware versions list (2007240)
https://kb.vmware.com/s/article/2007240

Document Location

Worldwide

[{"Line of Business":{"code":"LOB26","label":"Storage"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSERB6","label":"IBM Spectrum Protect for Virtual Environments"},"ARM Category":[{"code":"a8m0z00000006kpAAA","label":"Virtual Environments (VE)"}],"ARM Case Number":"TS005103987","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Version(s)"}]

Historical Number

TS005103987

Document Information

Modified date:
15 March 2021

UID

ibm16426987