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.
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
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