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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.2, 1.5.1, 1.6.0
    • docker
    • None
    • Mesosphere Sprint 79
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: