Migration fails with error Initial Sync Failed Error while executing namedquery : getTransferDefinitionsWithTransferId namespace :transfer match : {transferGroupId=########}
VMware HCX
VMware HCX migration failures involving the error "Initial Sync Failed" combined with "Error while executing namedquery" are typically related to environment or communication issues between HCX components and vCenter or a failure during database interactions within the HCX Manager, often specifically involving PostgreSQL functions related to replication transfers
Re-register the Source vCenter.
Now retry the migration and if it fails again, follow below steps;
Restart the HBR Service on the IX Appliance.
systemctl restart hbrsrvsystemctl status hbrsrvRetry the Bulk Migration from the HCX UI. The initial sync should now proceed successfully.
HCX-MIG-BULK