GitHub user anshul1886 opened a pull request:
https://github.com/apache/cloudstack/pull/64
CLOUDSTACK-6900: Fixed if we download a volume and then migrate the same
volume, then migration fails
In findByStoreVolume method of VolumeDataStoreDao now listing only those
volumes whose download_url is not generated in volume_store_ref.
This will not affect migrate operations as in that case download_url is
never generated
In case of download volume operation that is only set when volume reached
to ready state
in volume_store_ref table. After that this row is not listed through
findByStoreVolume method
so it will not affect in that case also.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anshul1886/cloudstack-1 CLOUDSTACK-6900
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/64.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #64
----
commit b35b30ecb7653759d6272f4ac9b0dca37b987746
Author: Anshul Gangwar <[email protected]>
Date: 2015-01-13T11:05:10Z
CLOUDSTACK-6900: In findByStoreVolume method of VolumeDataStoreDao now
listing only those volumes
whose download_url is not generated in volume_store_ref.
This will not affect migrate operations as in that case download_url is
never generated
In case of download volume operation that is only set when volume reached
to ready state
in volume_store_ref table. After that this row is not listed through this
method
so it will not affect in that case also.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---