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

External control of the ip that Mesos components publish to zookeeper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.14.2
    • 0.24.0
    • agent, framework, master
    • None

    Description

      With tools like Docker making containers more manageable, it's tempting to use containers for all software installation. The CoreOS project is an example of this.

      When an application is run inside a container it sees a different ip/hostname from the host system running the container. That ip is only valid from inside that host, no other machine can see it.

      From inside a container, the Mesos master and slave publish that private ip to zookeeper and as a result they can't find each other if they're on different machines. The --ip option can't help because the public ip isn't available for binding from within a container.

      Essentially, from inside the container, mesos processes don't know the ip they're available at (they may not know the port either).

      It would be nice to bootstrap the processes with the correct ip for them to publish to zookeeper.

      Attachments

        Issue Links

          Activity

            People

              anindya.sinha Anindya Sinha
              kgoudeaux Khalid Goudeaux
              Votes:
              15 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: