mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01: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…
x
Reference in New Issue
Block a user