We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e10f8e8 commit fefb002Copy full SHA for fefb002
1 file changed
server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
@@ -560,7 +560,8 @@ protected Long restart(HaWorkVO work) {
560
return null; // VM doesn't require HA
561
}
562
563
- if (!volumeMgr.canVmRestartOnAnotherServer(vm.getId())) {
+ if ((host == null || host.getRemoved() != null || host.getState() != Status.Up)
564
+ && !volumeMgr.canVmRestartOnAnotherServer(vm.getId())) {
565
if (s_logger.isDebugEnabled()) {
566
s_logger.debug("VM can not restart on another server.");
567
0 commit comments