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
35c779d0ae
commit
87796378a7
|
|
@ -187,6 +187,11 @@ public class HighAvailabilityManagerImpl implements HighAvailabilityManager, Clu
|
|||
return;
|
||||
}
|
||||
|
||||
if(host.getHypervisorType() == HypervisorType.VMware) {
|
||||
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