mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5596: reload vm state after vm been force stopped
Conflicts: server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
This commit is contained in:
parent
7b0c85da3c
commit
179cdea8e9
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue