Updated Branches: refs/heads/4.2 314c6579a -> 15b40e5cf
CLOUDSTACK-4273. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/15b40e5c Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/15b40e5c Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/15b40e5c Branch: refs/heads/4.2 Commit: 15b40e5cf2234588e75b09e100585ab390a8dbbd Parents: 314c657 Author: Likitha Shetty <[email protected]> Authored: Tue Aug 13 11:13:42 2013 +0530 Committer: Likitha Shetty <[email protected]> Committed: Tue Aug 13 11:14:32 2013 +0530 ---------------------------------------------------------------------- server/src/com/cloud/storage/VolumeManagerImpl.java | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/15b40e5c/server/src/com/cloud/storage/VolumeManagerImpl.java ---------------------------------------------------------------------- diff --git a/server/src/com/cloud/storage/VolumeManagerImpl.java b/server/src/com/cloud/storage/VolumeManagerImpl.java index 62d57f7..e099748 100644 --- a/server/src/com/cloud/storage/VolumeManagerImpl.java +++ b/server/src/com/cloud/storage/VolumeManagerImpl.java @@ -1852,9 +1852,6 @@ public class VolumeManagerImpl extends ManagerBase implements VolumeManager { boolean createVolumeOnBackend = true; if (rootVolumeOfVm.getState() == Volume.State.Allocated) { createVolumeOnBackend = false; - if(isVolumeOnSec) { - throw new CloudRuntimeException("Cant attach uploaded volume to the vm which is not created. Please start it and then retry"); - } } // Create volume on the backend only when VM's root volume is allocated
