mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 18:43:26 +01:00
Planner should set the pool information in the destination for volumes that are not yet ready.
This commit is contained in:
parent
6088cbfe47
commit
057097d0e0
@ -753,7 +753,9 @@ public class FirstFitPlanner extends PlannerBase implements DeploymentPlanner {
|
|||||||
s_logger.debug("Planner need not allocate a pool for this volume since its READY");
|
s_logger.debug("Planner need not allocate a pool for this volume since its READY");
|
||||||
suitablePools.add(pool);
|
suitablePools.add(pool);
|
||||||
suitableVolumeStoragePools.put(toBeCreated, suitablePools);
|
suitableVolumeStoragePools.put(toBeCreated, suitablePools);
|
||||||
readyAndReusedVolumes.add(toBeCreated);
|
if (!(toBeCreated.getState() == Volume.State.Allocated || toBeCreated.getState() == Volume.State.Creating)) {
|
||||||
|
readyAndReusedVolumes.add(toBeCreated);
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}else{
|
}else{
|
||||||
s_logger.debug("Pool of the volume does not fit the specified plan, need to reallocate a pool for this volume");
|
s_logger.debug("Pool of the volume does not fit the specified plan, need to reallocate a pool for this volume");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user