You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/11/12 12:37:33 UTC

[jira] [Commented] (STRATOS-940) Python Agent does not publish health stats upon a restart in Stratos

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

ASF GitHub Bot commented on STRATOS-940:
----------------------------------------

GitHub user chamilad opened a pull request:

    https://github.com/apache/stratos/pull/115

    [STRATOS-940] - Python Agent does not publish health stats upon a restart in Stratos

    Raise ThriftReceiverOfflineException when exception occurs while publishing event. Healthstats catch ThriftReceiverOfflineException and tries to reconnect forever

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chamilad/stratos master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/stratos/pull/115.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #115
    
----
commit a13146852417e70fa18101660cb78791a2ca20ac
Author: Chamila de Alwis <cs...@chamiladealwis.com>
Date:   2014-11-12T09:35:46Z

    [STRATOS-940] -  Python Agent does not publish health stats upon a restart in Stratos - Catch the read and write exceptions from the socket and continue without crashing

commit 2efcb97f96b3fe9195fece4d4a5eb5e41ef0ae0c
Author: Chamila de Alwis <cs...@chamiladealwis.com>
Date:   2014-11-12T10:07:48Z

    [STRATOS-940] -  Reconnect when connection fails until forever.

commit 20022bc99c54f24b0b6427a794306eb4ed26ef68
Author: Chamila de Alwis <cs...@chamiladealwis.com>
Date:   2014-11-12T10:31:09Z

    [STRATOS-940] -  Raise ThriftReceiverOfflineException when exception occurs while publishing event. Healthstats catch ThriftReceiverOfflineException and tries to reconnect forever.

commit 94e03bd8f7e12888a371b7004d0b48ef43a42352
Author: Chamila de Alwis <cs...@chamiladealwis.com>
Date:   2014-11-12T10:31:33Z

    Merge branch 'master' of https://github.com/apache/stratos

----


> Python Agent does not publish health stats upon a restart in Stratos
> --------------------------------------------------------------------
>
>                 Key: STRATOS-940
>                 URL: https://issues.apache.org/jira/browse/STRATOS-940
>             Project: Stratos
>          Issue Type: Bug
>          Components: Cartridge Agent
>    Affects Versions: 4.1.0 M3
>            Reporter: Nirmal Fernando
>            Assignee: Chamila de Alwis
>             Fix For: 4.1.0 M4
>
>
> This should be easily reproducible.
> * Let agent publish health stats
> * restart Stratos
> * Agent won't publish stats --> faulty member detected 
> * hence instances terminated



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)