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

LIBPROCESS_IP not passed to Docker containers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • 0.25.0
    • None
    • containerization, docker
    • Mesos 0.24.1

    Description

      Docker containers aren't currently passed all the same environment variables that Mesos Containerizer tasks are. See: https://github.com/apache/mesos/blob/master/src/slave/containerizer/containerizer.cpp#L254 for all the environment variables explicitly set for mesos containers.

      While some of them don't necessarily make sense for docker containers, when the docker has inside of it a libprocess process (A mesos framework scheduler) and is using --net=host the task needs to have LIBPROCESS_IP set otherwise the same sort of problems that happen because of MESOS-3553 can happen (libprocess will try to guess the machine's IP address with likely bad results in a number of operating environment).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cmaloney Cody Maloney
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: