cloudstack/engine/storage
Marcus Sorensen a80debbddf 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:34:17 -07:00
..
cache Merge remote-tracking branch 'origin/spring-modularization' 2013-10-23 11:14:42 -07:00
datamotion CLOUDSTACK-5813: With S3 as secondary storage, snapshot taken in one 2014-01-08 16:33:37 -08:00
image CLOUDSTACK-5841:Snapshots taken before migration NFS to S3 can not be 2014-01-08 16:33:37 -08:00
integration-test CLOUDSTACK-5662: XenServer can't discover iSCSI targets with different credentials 2013-12-27 13:12:12 -07:00
resources/META-INF/cloudstack fix compile 2013-11-01 16:16:03 -07:00
snapshot CLOUDSTACK-5841:Snapshots taken before migration NFS to S3 can not be 2014-01-08 16:33:37 -08:00
src/org/apache/cloudstack/storage CLOUDSTACK-5853 2014-01-10 11:34:17 -07:00
test/org/apache/cloudstack/engine/subsystem/api/storage Update StorageStrategyFactory to not sort, but just iterate and find the first 2013-10-23 16:36:31 -07:00
volume CLOUDSTACK-5329: fix NPE in storage migration for zone-wide primary storage, and also the serization error. 2014-01-03 16:44:21 -08:00
pom.xml Updating pom.xml version numbers for release 4.3.0-SNAPSHOT 2013-08-01 10:35:00 -04:00
storage.ucls Don't use cast to PrimarydataStoreTO on the resource code 2013-11-01 15:13:16 -07:00