mirror of https://github.com/apache/cloudstack.git
bug 6749: remove VM if get nap ip failed
status 6749: resolved fixed
This commit is contained in:
parent
f08afb2bae
commit
33d69b1746
|
|
@ -2331,7 +2331,7 @@ public class ManagementServerImpl implements ManagementServer {
|
|||
} finally {
|
||||
if(created == null) {
|
||||
s_logger.warn("Failed to create VM, delete the DB record, vmId: " + initial.getId());
|
||||
_vmMgr.destroyVirtualMachine(userId, initial.getId());
|
||||
_vmDao.remove(initial.getId());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue