mirror of https://github.com/apache/cloudstack.git
un-allocated space is insufficient on primary storage check the availability of un-allocated primary storage space during planning stage, for multiple-volume VM creation scenario modification in StorageManagerImpl.java and StorageManager.java: add a new method storagePoolHasEnoughSpace(List<Volumes>, StoragePool), check if storagePool has enough space for all requested volumes modification in FirstfitPlanner.findPotentialDeploymentResources: handle multiple volume case, keep track of allocated volumes for pools and call storagePoolHasEnoughSpace to check space availability modification in AbstractStoragePoolAllocator.java: extract capacity computation logic and make a new method in StorageManagerImpl RB: https://reviews.apache.org/r/6028/ Send-by: mice_xia@tcloudcomputing.com |
||
|---|---|---|
| .. | ||
| BareMetalPlanner.java | ||
| FirstFitPlanner.java | ||
| PlannerBase.java | ||