Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3287B1081D for ; Tue, 3 Sep 2013 08:12:55 +0000 (UTC) Received: (qmail 85209 invoked by uid 500); 3 Sep 2013 08:12:53 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 85131 invoked by uid 500); 3 Sep 2013 08:12:52 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 85122 invoked by uid 500); 3 Sep 2013 08:12:52 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 85117 invoked by uid 99); 3 Sep 2013 08:12:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 08:12:52 +0000 Date: Tue, 3 Sep 2013 08:12:52 +0000 (UTC) From: "terryye (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-4595) When a host is down ,the state is still up. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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