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

Enable Mesos to use arbitrary script / module to figure out IP, HOSTNAME

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.24.0
    • agent, master, modules
    • Mesosphere Sprint 15
    • 5

    Description

      Currently Mesos tries to guess the IP, HOSTNAME by doing a reverse DNS lookup. This doesn't work on a lot of clouds as we want things like public IPs (which aren't the default DNS), there aren't FQDN names (Azure), or the correct way to figure it out is to call some cloud-specific endpoint.

      If Mesos / Libprocess could load a mesos-module (Or run a script) which is provided per-cloud, we can figure out perfectly the IP / Hostname for the given environment. It also means we can ship one identical set of files to all hosts in a given provider which doesn't happen to have the DNS scheme + hostnames that libprocess/Mesos expects. Currently we have to generate host-specific config files which Mesos uses to guess.

      The host-specific files break / fall apart if machines change IP / hostname without being reinstalled.

      Attachments

        Issue Links

          Activity

            People

              marco-mesos Marco Massenzio
              cmaloney Cody Maloney
              Benjamin Hindman Benjamin Hindman
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: