Skip to content

Commit fdedbbc

Browse files
author
Kelven Yang
committed
bug 10834: when VMware host is down, don't try to restat VMs on other host. VMware prohibits VM relocation when host is down
1 parent d726b26 commit fdedbbc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ public void scheduleRestartForVmsOnHost(final HostVO host, boolean investigate)
188188
}
189189

190190
if(host.getHypervisorType() == HypervisorType.VMware) {
191-
s_logger.warn("Skip HA for VMware host " + host.getId());
191+
s_logger.info("Don't restart for VMs on host " + host.getId() + " as the host is VMware host");
192192
return;
193193
}
194-
194+
195195
s_logger.warn("Scheduling restart for VMs on host " + host.getId());
196196

197197
final List<VMInstanceVO> vms = _instanceDao.listByHostId(host.getId());

0 commit comments

Comments
 (0)