mirror of https://github.com/apache/cloudstack.git
bug 9392: don't lock domr entry, otherwise updating domr state fails
status 9392: resolved fixed
This commit is contained in:
parent
90f79a8211
commit
bd6661c3d2
|
|
@ -486,7 +486,7 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
|
|||
s_logger.debug("Determining why we're unable to update the state to Starting for " + vm);
|
||||
}
|
||||
|
||||
VMInstanceVO instance = _vmDao.lockRow(vmId, true);
|
||||
VMInstanceVO instance = _vmDao.findById(vmId);
|
||||
if (instance == null) {
|
||||
throw new ConcurrentOperationException("Unable to acquire lock on " + vm);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue