Alexander Rukletsov created MESOS-4935:
------------------------------------------

             Summary: Docker executor does not track containers killed 
out-of-band.
                 Key: MESOS-4935
                 URL: https://issues.apache.org/jira/browse/MESOS-4935
             Project: Mesos
          Issue Type: Improvement
          Components: docker
            Reporter: Alexander Rukletsov


If a docker container is killed out-of-band (using docker CLI), the docker 
executor does not exit and hence does not report a terminal state to Mesos. It 
happens because the docker executor does not monitor the state of the 
underlying container and waits for an explicit {{killTask()}} or 
{{shutdown()}}: 
https://github.com/apache/mesos/blob/69b2ad528dd79979a8ee113a8edbbab2669e32e6/src/docker/executor.cpp#L278

We should consider introducing a container observer actor, similar to 
{{ReaperProcess}} we have for command executor-based tasks.



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

Reply via email to