From 15b40e5cf2234588e75b09e100585ab390a8dbbd Mon Sep 17 00:00:00 2001 From: Likitha Shetty Date: Tue, 13 Aug 2013 11:13:42 +0530 Subject: [PATCH] CLOUDSTACK-4273. --- server/src/com/cloud/storage/VolumeManagerImpl.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/src/com/cloud/storage/VolumeManagerImpl.java b/server/src/com/cloud/storage/VolumeManagerImpl.java index 62d57f71374..e0997487a34 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