mirror of https://github.com/apache/cloudstack.git
re-enable HA logic on VM state synchronization for VMware
This commit is contained in:
parent
de3662405b
commit
73c642ec59
|
|
@ -187,11 +187,6 @@ public class HighAvailabilityManagerImpl implements HighAvailabilityManager, Clu
|
|||
return;
|
||||
}
|
||||
|
||||
if(host.getHypervisorType() == HypervisorType.VMware) {
|
||||
s_logger.warn("Skip HA for VMware host " + host.getId());
|
||||
return;
|
||||
}
|
||||
|
||||
s_logger.warn("Scheduling restart for VMs on host " + host.getId());
|
||||
|
||||
final List<VMInstanceVO> vms = _instanceDao.listByHostId(host.getId());
|
||||
|
|
@ -275,11 +270,6 @@ public class HighAvailabilityManagerImpl implements HighAvailabilityManager, Clu
|
|||
return;
|
||||
}
|
||||
|
||||
if(vm.getHypervisorType() == HypervisorType.VMware) {
|
||||
s_logger.info("Skip HA for VMware VM " + vm.getInstanceName());
|
||||
return;
|
||||
}
|
||||
|
||||
if (!investigate) {
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("VM does not require investigation so I'm marking it as Stopped: " + vm.toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue