You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Matthias Veit (JIRA)" <ji...@apache.org> on 2015/09/21 09:32:04 UTC

[jira] [Created] (MESOS-3479) COMMAND Health Checks are not executed if the timeout is exceeded

Matthias Veit created MESOS-3479:
------------------------------------

             Summary: COMMAND Health Checks are not executed if the timeout is exceeded
                 Key: MESOS-3479
                 URL: https://issues.apache.org/jira/browse/MESOS-3479
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 0.23.0
            Reporter: Matthias Veit
            Priority: Critical


The issue first appeared as Marathon Bug: See here for reference: https://github.com/mesosphere/marathon/issues/2179.

A COMMAND health check is defined with a timeout of 20 seconds.
The command itself takes longer than 20 seconds to execute.

Current behavior: 
- The mesos health check process get's killed, but the defined command process not (in the example the curl command returns after 21 seconds).
- The check attempt is considered healthy, if the timeout is exceeded
- The health check stops and is not executed any longer

Expected behavior: 
- The defined health check command is killed, when the timeout is exceeded
- The check attempt is considered Unhealthy, if the timeout is exceeded
- The health check does not stop 




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