Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8876

Normal exit of Docker container using rexray volume results in TASK_FAILED.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.2, 1.5.1, 1.6.0
    • Component/s: docker
    • Labels:
      None
    • Sprint:
      Mesosphere Sprint 79
    • Story Points:
      2

      Description

      In the fix to  MESOS-8488, we reap the Docker container process directly in Docker executor, and it will wait for `docker run` to return for at most 3 seconds. However, in some cases, the `docker run` command will indeed need more than 3 seconds to return, e.g., the Docker container uses an external rexray volume (see the attached task json as an example), for such container, there will be about 5 seconds between container process exits and the `docker run` returns (I suspect Docker daemon was doing some stuff related to rexray volume during this time), so we will reap this container, and send a TASK_FAILED.

        Attachments

        1. task_exit_volume.json
          1 kB
          Qian Zhang

          Issue Links

            Activity

              People

              • Assignee:
                qianzhang Qian Zhang
                Reporter:
                qianzhang Qian Zhang
                Shepherd:
                Vinod Kone
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: