bug 6749: remove VM if get nap ip failed

status 6749: resolved fixed
This commit is contained in:
anthony 2010-10-08 19:47:01 -07:00
parent f08afb2bae
commit 33d69b1746
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}