cloudstack/engine/storage
Anshul Gangwar 91e1881be8 CLOUDSTACK-6900: This fixes volume migration failing after that volume is downloaded.
When we download volume then we create entry in volume_store_ref table.
We mark the volume entry to ready state once download_url gets generated.
When we migrate that volume, then again one more entry is created with same volume id.
Its state is marked as allocated. Later we try to list only one dataobject in datastore
for state transition during volume migration. If the listed volume's state is allocated
then migration passes otherwise it fails.

Below fix will remove the randomness and give priority to volume entry which is made for
migration (download_url/extracturl will be null in case of migration). Giving priority to
download volume case is not needed as there will be only one entry in that case so no randomness.
2015-01-16 15:15:14 +05:30
..
cache Bump master version to 4.6.0-SNAPSHOT after branching 4.5.0-SNAPSHOT 2014-10-29 14:54:23 +01:00
datamotion CID-1261670 added null check 2015-01-05 16:01:13 +01:00
image Create a template from a SAN snapshot 2014-11-06 10:33:23 -07:00
integration-test Added a "long getUsedIops(StoragePool)" method to the PrimaryDataStoreDriver interface 2014-11-12 13:38:58 -07:00
resources/META-INF/cloudstack fix compile 2013-11-01 16:16:03 -07:00
snapshot CLOUDSTACK-8097: Failed to create volume snapshot after vm live migration across clusters. 2014-12-19 14:26:48 +05:30
src/org/apache/cloudstack/storage CLOUDSTACK-6900: This fixes volume migration failing after that volume is downloaded. 2015-01-16 15:15:14 +05:30
test/org/apache/cloudstack/engine/subsystem/api/storage Reformatted all of the code. 2013-11-21 06:15:26 -08:00
volume CLOUDSTACK-8125. VM fails to start on the first attempt after a cold migration. 2014-12-24 14:33:51 +05:30
pom.xml Bump master version to 4.6.0-SNAPSHOT after branching 4.5.0-SNAPSHOT 2014-10-29 14:54:23 +01:00
storage.ucls Cleanup of Xen and XenServer terms. Cloned xen plugin creating a xenserver plugin, then removed xen plugin 2014-06-07 04:50:23 -04:00