mirror of https://github.com/apache/cloudstack.git
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