mirror of
https://github.com/apache/cloudstack
synced 2026-09-01 01:22:59 +00:00
HA VM with local storage works
This commit is contained in:
parent
e10f8e8875
commit
fefb0028fe
@ -560,7 +560,8 @@ public class HighAvailabilityManagerImpl extends ManagerBase implements HighAvai
|
||||
return null; // VM doesn't require HA
|
||||
}
|
||||
|
||||
if (!volumeMgr.canVmRestartOnAnotherServer(vm.getId())) {
|
||||
if ((host == null || host.getRemoved() != null || host.getState() != Status.Up)
|
||||
&& !volumeMgr.canVmRestartOnAnotherServer(vm.getId())) {
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("VM can not restart on another server.");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user