You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "terryye (JIRA)" <ji...@apache.org> on 2013/09/03 10:12:52 UTC

[jira] [Created] (CLOUDSTACK-4595) When a host is down ,the state is still up.

terryye created CLOUDSTACK-4595:
-----------------------------------

             Summary: When a host is down ,the state is still up. 
                 Key: CLOUDSTACK-4595
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4595
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.1.0
         Environment: ubuntu 12.04 kvm
            Reporter: terryye


when a host is down ,the host state is still up.
2013-09-03 15:10:03,772 DEBUG [cloud.ha.AbstractInvestigatorImpl] (AgentTaskPool-14:null) host (192.168.11.21) cannot be pinged, returning null ('I don't know')
2013-09-03 15:11:00,768 DEBUG [cloud.ha.UserVmDomRInvestigator] (AgentTaskPool-15:null) sending ping from (10) to agent's host ip address (192.168.11.21)
2013-09-03 15:11:00,769 DEBUG [agent.transport.Request] (AgentTaskPool-15:null) Seq 10-988545077: Sending  { Cmd , MgmtId: 52242977168, via: 10, Ver: v1, Flags: 100011, [{"PingTestCommand":{"_computingHostIp":"192.168.11.21","wait":20}}] }


cloudstack\server\src\com\cloud\ha\AbstractInvestigatorImpl.java

if (s_logger.isDebugEnabled()) {
                    s_logger.debug("host (" + testHostIp + ") cannot be pinged, returning null ('I don't know')");
                }
-                 return null;
+                return Status.Down;
            }
        } catch (AgentUnavailableException e) {



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira