mirror of https://github.com/apache/cloudstack.git
bug 12849: remove agent will kickstart HA if the host status is Down or Alert. The update is therefore moved before it
reviewed by: kishan
This commit is contained in:
parent
88a9b2f973
commit
606708e0a3
|
|
@ -1110,8 +1110,8 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory, Manager {
|
|||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("Deregistering link for " + hostId + " with state " + nextState);
|
||||
}
|
||||
removeAgent(attache, nextState, event, investigate);
|
||||
_hostDao.disconnect(host, event, _nodeId);
|
||||
removeAgent(attache, nextState, event, investigate);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue