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

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

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762169#comment-13762169 ] 

Laszlo Hornyak commented on CLOUDSTACK-4595:
--------------------------------------------

As far as I know having no ping from one host does not necessarily mean that the host is down, it may also be a temporary network issue, so cloudstack tests with all the other hosts, if any other host could ping it, then it is still up, while if no other host could ping it, then it is unknown. The change you requested would result in behavior change: if any other host can't ping, then it is down - this could be inpractical for bigger installations.
A less drastic change could be if there is no other host that could ping the host, then it is down.
                
> 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
>              Labels: ha
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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