mirror of https://github.com/apache/cloudstack.git
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:
parent
d726b26180
commit
fdedbbc00e
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue