VMware Cloud Director reports NO_FEASIBLE_PLACMENT when deploying vApps
search cancel

VMware Cloud Director reports NO_FEASIBLE_PLACMENT when deploying vApps

book

Article ID: 409587

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

VM Placement in VCD fails with:

Out of 0 available storage containers only 1 were valid, and no solution could be computed across these remaining storage containers. Rejected hubs: resgroup-XXXX Storage containers were rejected for the following reasons: 1 storage containers rejected because: The item is already on a valid datastore: datastore-XXX.

Environment

  • 10.3
  • 10.4
  • 10.5
  • 10.6

Cause

  • Datastores in vCenter have an alert describing usage limits.
  • Thresholds on Datastores in vCenter have been breached.
  • Java.lang.IllegalArgumentException entries in the vcloud-containter-debug files describing the datastore is not valid
  • usedCapacityMb is larger than totalCapacityMb

Example:

StoragePlacementAlgorithmUtils | Container [vcId=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, moref=datastore-XXXX] is not valid.
java.lang.IllegalArgumentException: Container moref://XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Datastore#datastore-XXXX has usedCapacityMb: XXXXXXXX > totalCapacityMb: XXXXXXXX

 

Resolution

If total storage in vCenter is more than enough to cater for the vApp, all alarms and alerts on the Datastores must be cleared along with a reduction of the Yellow and Red thresholds. By default, the Yellow threshold is 25% of the capacity of the datastore and the Red threshold is 15%

For more information on Thresholds please see: Configure Low Disk Space Thresholds for a Provider Virtual Data Center Storage Container in Your VMware Cloud Director and