You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2018/02/23 23:22:00 UTC

[jira] [Created] (MESOS-8605) Terminal task status update will not send if 'docker inspect' is hung

Greg Mann created MESOS-8605:
--------------------------------

             Summary: Terminal task status update will not send if 'docker inspect' is hung
                 Key: MESOS-8605
                 URL: https://issues.apache.org/jira/browse/MESOS-8605
             Project: Mesos
          Issue Type: Improvement
          Components: docker
    Affects Versions: 1.5.0
            Reporter: Greg Mann


When the agent processes a terminal status update for a task, it calls {{containerizer->update()}} on the container before it forwards the update: https://github.com/apache/mesos/blob/9635d4a2d12fc77935c3d5d166469258634c6b7e/src/slave/slave.cpp#L5509-L5514

In the Docker containerizer, {{update()}} calls {{Docker::inspect()}}, which means that if the inspect call hangs, the terminal update will not be sent: https://github.com/apache/mesos/blob/9635d4a2d12fc77935c3d5d166469258634c6b7e/src/slave/containerizer/docker.cpp#L1714



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)