CLOUDSTACK-5596: reload vm state after vm been force stopped

Conflicts:

	server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
This commit is contained in:
Edison Su 2013-12-20 11:26:43 -08:00
parent 7b0c85da3c
commit 179cdea8e9
1 changed files with 1 additions and 0 deletions

View File

@ -351,6 +351,7 @@ public class HighAvailabilityManagerImpl extends ManagerBase implements HighAvai
try {
_itMgr.advanceStop(vm.getUuid(), true);
vm = _instanceDao.findByUuid(vm.getUuid());
} catch (ResourceUnavailableException e) {
assert false : "How do we hit this when force is true?";
throw new CloudRuntimeException("Caught exception even though it should be handled.", e);