bug 10834: when VMware host is down, don't try to restat VMs on other host. VMware prohibits VM relocation when host is down

This commit is contained in:
Kelven Yang 2011-08-17 18:07:52 -07:00
parent d726b26180
commit fdedbbc00e
1 changed files with 2 additions and 2 deletions

View File

@ -188,10 +188,10 @@ public class HighAvailabilityManagerImpl implements HighAvailabilityManager, Clu
}
if(host.getHypervisorType() == HypervisorType.VMware) {
s_logger.warn("Skip HA for VMware host " + host.getId());
s_logger.info("Don't restart for VMs on host " + host.getId() + " as the host is VMware host");
return;
}
s_logger.warn("Scheduling restart for VMs on host " + host.getId());
final List<VMInstanceVO> vms = _instanceDao.listByHostId(host.getId());