Skip to content

Commit 15b40e5

Browse files
author
Likitha Shetty
committed
CLOUDSTACK-4273.
1 parent 314c657 commit 15b40e5

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎server/src/com/cloud/storage/VolumeManagerImpl.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,9 +1852,6 @@ public Volume attachVolumeToVM(AttachVolumeCmd command) {
18521852
boolean createVolumeOnBackend = true;
18531853
if (rootVolumeOfVm.getState() == Volume.State.Allocated) {
18541854
createVolumeOnBackend = false;
1855-
if(isVolumeOnSec) {
1856-
throw new CloudRuntimeException("Cant attach uploaded volume to the vm which is not created. Please start it and then retry");
1857-
}
18581855
}
18591856

18601857
// Create volume on the backend only when VM's root volume is allocated

0 commit comments

Comments
 (0)