'Delete File' task, triggered by vSphere Replication, repeatedly appears in the vCenter Server task list
HMS 8.8.0.16757 build-22780241
In an SDRS-enabled environment, SDRS fails to correctly specify the source and target datastores.
When the virtual machine relocation process was initiated, the task failed because the virtual machine already existed at the target datastore path.
DEBUG com.vmware.hms.sdrs.ReplicaRelocationWorkflowHandler [hms-pcm-updatehandler-thread-4] (..hms.sdrs.ReplicaRelocationWorkflowHandler) [operationID=#########-####-####-####-############-HMSINT-####] | Scheduling replica files relocation for group 'GID-#########-####-####-####-############'
ERROR com.vmware.hms.sdrs.ReplicaRelocationWorkflowHandler [hms-main-thread-10799] (..hms.sdrs.ReplicaRelocationWorkflowHandler$1) [operationID=xxx-x-xxx-xxxx-xx-xx-HMS-xxxxxxx,sessionID=xxxxx, task=HTID-#########-####-####-####-############] | Error occurred when scheduling replica VM 'HMSVM-#########-####-####-####-############' relocation task. Retrying...
com.vmware.vim.binding.hbr.replica.fault.HbrRuntimeFault: Virtual Machine exists at the target datastore path
Following the relocation attempt, a cleanup action is executed, even if the relocation process fails.
SDRS incorrectly assigns 'null' to the source folder field, and HMS performs a no null check.
As a result, attempts are made to delete the '[source datastore] null' folder, leading to a consistent error in vCenter.
touch dummy.txt'
).