mirror of https://github.com/apache/cloudstack.git
Revert "recreate router if failed"
This reverts commit 0f4ffd8897.
Conflicts:
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
This commit is contained in:
parent
e8d343ab81
commit
7d0d04946b
|
|
@ -742,6 +742,12 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
|
|||
if (vm.getHypervisorType() != HypervisorType.BareMetal) {
|
||||
_storageMgr.prepare(vmProfile, dest);
|
||||
}
|
||||
|
||||
//since StorageMgr succeeded in volume creation, resue Volume for further tries until current cluster has capacity
|
||||
if(!reuseVolume){
|
||||
reuseVolume = true;
|
||||
}
|
||||
|
||||
vmGuru.finalizeVirtualMachineProfile(vmProfile, dest, ctx);
|
||||
|
||||
VirtualMachineTO vmTO = hvGuru.implement(vmProfile);
|
||||
|
|
|
|||
Loading…
Reference in New Issue