cloudstack/engine/storage
Marcus Sorensen e5fc9fdef9 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:02:35 -07:00
..
cache Revert "Updating pom.xml version numbers for release 4.2.1" 2013-12-16 15:42:51 +05:30
datamotion Revert "Updating pom.xml version numbers for release 4.2.1" 2013-12-16 15:42:51 +05:30
image CLOUDSTACK-5653:S3 object store as Secondary Storage, the template 2014-01-09 16:12:16 -08:00
integration-test Revert "Updating pom.xml version numbers for release 4.2.1" 2013-12-16 15:42:51 +05:30
snapshot Revert "Updating pom.xml version numbers for release 4.2.1" 2013-12-16 15:42:51 +05:30
src/org/apache/cloudstack/storage CLOUDSTACK-5853 2014-01-10 11:02:35 -07:00
volume Revert "Updating pom.xml version numbers for release 4.2.1" 2013-12-16 15:42:51 +05:30
pom.xml Revert "Updating pom.xml version numbers for release 4.2.1" 2013-12-16 15:42:51 +05:30
storage.ucls Fix license on xml.in, jsp and ucls files on javelin 2013-01-12 06:34:34 -08:00