Skip to content

Commit 5fc66d1

Browse files
author
Kelven Yang
committed
re-enable HA logic on VM state synchronization for VMware
1 parent 5fd0ff5 commit 5fc66d1

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎server/src/com/cloud/ha/HighAvailabilityManagerImpl.java‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,6 @@ public void scheduleRestartForVmsOnHost(final HostVO host, boolean investigate)
187187
return;
188188
}
189189

190-
if(host.getHypervisorType() == HypervisorType.VMware) {
191-
s_logger.warn("Skip HA for VMware host " + host.getId());
192-
return;
193-
}
194-
195190
s_logger.warn("Scheduling restart for VMs on host " + host.getId());
196191

197192
final List<VMInstanceVO> vms = _instanceDao.listByHostId(host.getId());
@@ -275,11 +270,6 @@ public void scheduleRestart(VMInstanceVO vm, boolean investigate) {
275270
return;
276271
}
277272

278-
if(vm.getHypervisorType() == HypervisorType.VMware) {
279-
s_logger.info("Skip HA for VMware VM " + vm.getInstanceName());
280-
return;
281-
}
282-
283273
if (!investigate) {
284274
if (s_logger.isDebugEnabled()) {
285275
s_logger.debug("VM does not require investigation so I'm marking it as Stopped: " + vm.toString());

0 commit comments

Comments
 (0)