HCX Migration fails with "No target host could be chosen after capacity fit filtering is done"
search cancel

HCX Migration fails with "No target host could be chosen after capacity fit filtering is done"

book

Article ID: 376169

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • HCX Migration failed with the error: "No target host could be chosen after capacity fit filtering is done".

  • The following error is observed in Target HCX in /common/logs/admin/app.log: 


    2024-08-29 03:10:08.230 UTC [VmotionService_SvcThread-20061, Ent: HybridityAdmin, , TxId: TxId: ########-####-####-####-############] WARN  c.v.v.h.m.c.CompatibleDatastoreSelector- Not choosing datastore:ManagedObjectReference: type = Datastore, value = datastore-30, serverGuid = null having dsFreeSpace:682651287552 as it does not satisfy Vm capacity requirement vmTotalDiskSpace:2069569206691

     

    2024-08-29 03:10:08.233 UTC [VmotionService_SvcThread-20061, Ent: HybridityAdmin, , TxId: TxId: ########-####-####-####-############] WARN  c.v.h.s.v.j.CollectTargetConfigWorkflow- [migId=########-###-####-####-############] Failed to check candidate datastore '' for VM required disk space.
    com.vmware.vim.binding.vmodl.fault.ManagedObjectNotFound: The object 'vim.ManagedEntity:' has already been deleted or has not been completely created
    2024-08-29 03:10:08.233 UTC [VmotionService_SvcThread-20061, Ent: HybridityAdmin, , TxId: TxId: ########-####-####-####-############] ERROR c.v.h.s.v.j.CollectTargetConfigWorkflow- Method doGetDestinationDetails Failed with exception:
    java.lang.RuntimeException: No destination datastore can be chosen
    
    

       
 

Environment

HCX 

Cause

The VM's capacity requirement exceeds the available space on the target datastore, which does not have sufficient capacity to accommodate the VM. 

Resolution

Ensure that the target datastore has enough free space available to accommodate the Source VM. In additional, up to 20% extra space may be used temporarily during the migration.