mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
only ping timeout trigger host HA, otherwise there may be two threads try to HA the same VM
This commit is contained in:
parent
830328b63d
commit
370554e9d9
@ -34,7 +34,6 @@ import com.cloud.agent.transport.Request;
|
||||
import com.cloud.agent.transport.Response;
|
||||
import com.cloud.exception.AgentUnavailableException;
|
||||
import com.cloud.host.Status;
|
||||
import com.cloud.host.Status.Event;
|
||||
import com.cloud.resource.ServerResource;
|
||||
|
||||
public class DirectAgentAttache extends AgentAttache {
|
||||
@ -145,7 +144,6 @@ public class DirectAgentAttache extends AgentAttache {
|
||||
PingCommand cmd = resource.getCurrentStatus(_id);
|
||||
if (cmd == null) {
|
||||
s_logger.warn("Unable to get current status on " + _id + "(" + _name + ")");
|
||||
_mgr.disconnectWithInvestigation(DirectAgentAttache.this, Event.AgentDisconnected);
|
||||
return;
|
||||
}
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user