Re: Command healthcheck failed but status KILLED

2016-12-14 Thread Tomek Janiszewski
Thanks Gastón. Do we have a shepherd for this? It's not critical but make
it hard to distinguish task killed by failed health check from killed by
scheduler.

wt., 13.12.2016 o 16:55 użytkownik Gastón Kleiman 
napisał:

> On Mon, Dec 12, 2016 at 12:47 PM, Tomek Janiszewski 
> wrote:
>
> > It there any information that kill is the result of failed healthcheck?
> > TaskHealthStatus should have some details on what was wrong. When default
> > executor is killing task it should add a reason and details to
> TaskStatus.
> > What do you think?
> >
>
> I agree with you, so I created
> https://issues.apache.org/jira/browse/MESOS-6786 with some ideas.
>
> -Gastón
>


Re: Command healthcheck failed but status KILLED

2016-12-13 Thread Gastón Kleiman
On Mon, Dec 12, 2016 at 12:47 PM, Tomek Janiszewski 
wrote:

> It there any information that kill is the result of failed healthcheck?
> TaskHealthStatus should have some details on what was wrong. When default
> executor is killing task it should add a reason and details to TaskStatus.
> What do you think?
>

I agree with you, so I created
https://issues.apache.org/jira/browse/MESOS-6786 with some ideas.

-Gastón


Re: Command healthcheck failed but status KILLED

2016-12-12 Thread Tomek Janiszewski
It there any information that kill is the result of failed healthcheck?
TaskHealthStatus should have some details on what was wrong. When default
executor is killing task it should add a reason and details to TaskStatus.
What do you think?

pon., 12.12.2016 o 11:11 użytkownik Alex Rukletsov 
napisał:

> Technically the task hast not failed but was killed by the executor
> (because it failed a health check).
>
> On Fri, Dec 9, 2016 at 11:27 AM, Tomek Janiszewski 
> wrote:
>
> > Hi
> >
> > What is desired behavior when command health check failed? On Mesos 1.0.2
> > when health check fails task has state KILLED instead of FAILED with
> reason
> > specifying it was killed due to failing health check.
> >
> > Thanks
> > Tomek
> >
>


Re: Command healthcheck failed but status KILLED

2016-12-12 Thread Alex Rukletsov
Technically the task hast not failed but was killed by the executor
(because it failed a health check).

On Fri, Dec 9, 2016 at 11:27 AM, Tomek Janiszewski 
wrote:

> Hi
>
> What is desired behavior when command health check failed? On Mesos 1.0.2
> when health check fails task has state KILLED instead of FAILED with reason
> specifying it was killed due to failing health check.
>
> Thanks
> Tomek
>


Command healthcheck failed but status KILLED

2016-12-09 Thread Tomek Janiszewski
Hi

What is desired behavior when command health check failed? On Mesos 1.0.2
when health check fails task has state KILLED instead of FAILED with reason
specifying it was killed due to failing health check.

Thanks
Tomek