AppSync: AppSync is unable to mount a VMWare virtual disk or datastore and is failing with HostPlatformConfigFault Exception.
Symptoms
CSV event log:
Mount copy,13749d25-48f7-4cbc-ad7c-b9d89571xxxx,VM_000086,XXXXX,Mount of Datastore failed with error com.vmware.vim25.PlatformConfigFault . Check the server.log for details. Refer to troubleshooting section in admin guide if it failed due to HostPlatformConfigFault Exception.
Server log:
WARN [Thread-1582 (HornetQ-client-global-threads-235452xxx)] [com.emc.archway.service.vcenter.VCenterServiceBean] [XXXXX] [] Fault String : com.vmware.vim25.PlatformConfigFault
INFO [Thread-1582 (HornetQ-client-global-threads-235452xxx)] [com.emc.archway.service.eventservice.EventServiceBean] [XXXXX] [] EVENT [VM_000086]: Mount of Datastore failed with error com.vmware.vim25.PlatformConfigFault . Check the server.log for details. Refer to troubleshooting section in admin guide if it failed due to HostPlatformConfigFault Exception
INFO [Thread-1582 (HornetQ-client-global-threads-235452xxx)] [com.emc.archway.service.eventservice.EventServiceBean] [XXXXX] [] EVENT [VM_000077]: Virtual center service operation failed with error: Failed to mount any of the datastores. Using the VI client, check the ESX servers for tasks and events, or alarms
ERROR [Thread-1582 (HornetQ-client-global-threads-235452xxx)] [com.emc.archway.service.vcenter.VCenterServiceBean] [XXXXX] [] Exception Occurred: VCenterServiceOperationFailedException, Message: Virtual center service operation failed with error: Failed to mount any of the datastores. Using the VI client, check the ESX servers for tasks and events, or alarms.
Cause
Snaps of the datastore that are exposed to the ESX host but not mounted to the ESX host can be considered stale copies and can cause this error.
Resolution
Unmask all the snapshots of the device in array from esxi host; so that none of the snapshots mask the ESXi host and then delete it. Rescan the bus on the ESX host to ensure they are removed.