Trying to migrate virtual machines between resource pools under same PVDC fails with error NO_FEASIBLE_PLACEMENT_SOLUTION
search cancel

Trying to migrate virtual machines between resource pools under same PVDC fails with error NO_FEASIBLE_PLACEMENT_SOLUTION

book

Article ID: 398990

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Trying to migrate VMs from a disabled resource pool to another resource pool within the same PVDC using the "Migrate VM(s)" option under Provider > Cloud Resources > Provider VDCs > click on the PVDC to migrate VMs from > Automatically select a resource pool OR, Manually select a resource pool > Migrate 

  • The migration task fails right away with error :
     
    The operation failed because no suitable resource was found. Out of 1 candidate hubs: 1 hubs eliminated because: Does not contain required storage container(s): [[moref://81503b3b-yyyy-####-zzzz-#z#y##ww####/Datastore#datastore-1xxxxx]] Rejected hubs: resgroup-11xxxx - PlacementException NO_FEASIBLE_PLACEMENT_SOLUTION

  • When checked, both the source and destination cluster datastores are compatible with the Storage Policy in use. 

 

Environment

VMware vCloud Director 10.x

Cause

The issue occurs because the "Allow VM(s) to change datastore" option is required to be checked if the destination cluster does not have access to the existing datastore that the VM is currently residing on. 

Resolution

To workaround, click on the "Allow VM(s) to change datastore" option under migrate option under Provider > Cloud Resources > Provider VDCs > click on the PVDC to migrate VMs from > Automatically select a resource pool OR, Manually select a resource pool > Migrate