VMware backup fails with Failed to extract and set OS attributes collection from Prerequisites or VMX data
Problem description
-
Both, scheduled and manual backup fails with the same error.
Failed to extract and set OS attributes collection from Prerequisites or VMX data
-
This can happen if the Vcenter is on a lower version than ESXi.
e.g Esxi on 6.0 and Vcenter on 5.1.0.
-
Can happen due to Vcenter License issue.
-
VM Snapshot phase will not complete in this case.
Traceback
Phoenix.log shows
[INFO] Exception occurred while snapshot:
[ERROR] Error <class 'inSyncLib.inSyncError.SyncError'>:Cannot contact the specified host (172.1.1.1). The host may not be available on the network, a network configuration problem may exist, or the management services on this host may not be responding. (#10006ffff : vim.fault.NoHost) (Error Code : VMWARE_VMOMI65535). Traceback -Traceback (most recent call last):
File "agents/vmware/vSphereAdapter.py", line 1116, in create_snapshot
File "agents/vmware/vSphereAdapter.py", line 1089, in _create_snapshot
File "inSyncLib/inSyncError.py", line 32, in raise_error
SyncError: Cannot contact the specified host (172.1.1.1). The host may not be available on the network, a network configuration problem may exist, or the management services on this host may not be responding. (#10006ffff : vim.fault.NoHost) (Error Code : VMWARE_VMOMI65535)
Resolution
To upgrade the Vcenter to the latest version and license it.