HCX Migration gets stuck or fails on "Collecting source details" Event step
search cancel

HCX Migration gets stuck or fails on "Collecting source details" Event step

book

Article ID: 378695

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

Virtual Machines that are selected for the migration using HCX fails or gets stuck at "Collecting source details" under Events section.

 

On HCX manager cli, under /common/logs/admin/app.log, we see the below message

[MigrationService_SvcThread-24, Ent: HybridityAdmin, , TxId: ######-####-####-####-######] INFO  c.v.v.h.s.v.m.jobs.VRMigrationJob- ----- Job id : ######-####-####-####-###### Running state : COLLECT_SOURCE_VM_DETAILS Virtual Machine : UNKNOWN -----
[MigrationService_SvcThread-22, Ent: HybridityAdmin, , TxId: ######-####-####-####-######] INFO  c.v.v.h.s.v.m.j.CollectVcVmDetailsJob- Running in state BEGIN
[MigrationService_SvcThread-6, Ent: HybridityAdmin, , TxId:  ######-####-####-####-######] INFO  c.v.v.h.s.v.m.j.CollectVcVmDetailsJob- Running in state COLLECT_VIRTUAL_MACHINE_DETAILS
[MigrationService_SvcThread-6, Ent: HybridityAdmin, , TxId:  ######-####-####-####-######] INFO  c.v.v.h.s.v.m.j.CollectVcVmDetailsJob- Collecting vm details

 

 

 

Environment

VMware HCX

Cause

This indicates an issue with the HCX Manager unable to get the details of the virtual machine that is selected for the migration when queries via vCenter.
This is commonly caused by underlying storage related issues that impacts the virtual machine stability

Resolution

Perform the following steps:

1. Examine the status of the Virtual Machine via vCenter UI and ensure that the VM is stable. Refer to the article to know more about analyzing the VM issues VM hung/Frozen/Not-responding
2. Try performing a storage vMotion of the virtual machine to another datastore.
3. Investigate the underlying storage that the virtual machine resides on. Storage Issue Troubleshooting

If the above steps do not resolve this issue, please collect the below information when filing a support request with Broadcom:
Source side HCX log bundle, including IX appliance.
Source side vCenter log bundle
Source side ESXi cluster log bundles
virtual machine names
HCX migration ID
Timestamp of migration(in UTC)
Reference this KB article and any troubleshooting steps performed.