cloudstack/api/src/com/cloud/deploy
Marcus Sorensen fc082832d3 CLOUDSTACK-5853
Create two storage pools, one with storage tag X, one with storage tag Y.
Create a service offering with storage tag X.
Create a disk offering with storage tag Y.
Attempt to deploy a virtual machine with a datadisk, using given offerings, it fails.

Deployment planner keeps a global object 'avoid'. It loops through each volume to
be created, asking storage allocators for matching pools, passing this avoid object.

First disk matches a pool or pools, adds ALL other pools to avoid object, then
deployment planner attaches matching pools to a list for that disk.

Second disk matches a pool, adds all other pools to avoid object, then deployment
planner says "wait, matching pool is in avoid, can't use it". Oops. In fact, at this
point ALL pools are in avoid (unless there are other pools that have both tags).

Need to remove matching pool from the avoid set during each select phase.
2014-01-10 11:55:54 -07:00
..
DataCenterDeployment.java api_refactor: refactor project apis 2012-12-03 22:10:32 -08:00
DeployDestination.java CLOUDSTACK-5765: cleanup internal serialization and exception propagation issues 2014-01-09 14:29:13 -08:00
DeploymentClusterPlanner.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
DeploymentPlan.java committing Chip Childers patches fixing licensing headers 2012-06-12 12:32:58 -04:00
DeploymentPlanner.java CLOUDSTACK-5853 2014-01-10 11:55:54 -07:00
HAPlanner.java CLOUDSTACK-4941: 2013-12-18 16:27:20 -08:00