HCX Bulk or RAV Migrations fail with below error in the HCX app.log:
Sync operation couldn't be performed for Virtual Machine '<vm-moref>'. Reason: Replication has been disabled
Sync operation '<task-id>' has failed with error: vSphere Replication operation error: Virtual machine is not configured for replication.
If the source vCenter has VRMS/HMS registered with version earlier than 6.5, it may disable vSR even for VMs that are not configured through HMS. This can be verified in the HMS logs by searching for messages like:
Disabling replication of VM MoRef: type = VirtualMachine, value = <vm-moref>
This can also be verified through the VM Summary’s Tasks and Events page, and looking for Disable Replication task from “com.vmware.vcHMS” during the time the bulk/RAV migration was in-progress.
Upgrade VRMS/HMS to version 6.5 or later.
service hms stop
HCX Bulk and RAV migrations may fail during replication stages initial/delta/offline sync.
Migration workflows will roll back safely without any impact to source VMs being migrated.