mirror of
https://github.com/apache/cloudstack
synced 2026-08-28 16:36:07 +00:00
CLOUDSTACK-4273.
This commit is contained in:
parent
314c6579a5
commit
15b40e5cf2
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user