You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Lukas Loesche (JIRA)" <ji...@apache.org> on 2014/12/04 01:20:12 UTC

[jira] [Created] (MESOS-2170) Choose a sane default interface on startup

Lukas Loesche created MESOS-2170:
------------------------------------

             Summary: Choose a sane default interface on startup
                 Key: MESOS-2170
                 URL: https://issues.apache.org/jira/browse/MESOS-2170
             Project: Mesos
          Issue Type: Improvement
          Components: general
    Affects Versions: 0.20.1
            Reporter: Lukas Loesche
            Priority: Minor


Upon startup (if not explicitly specified) mesos chooses one (the first?) of the available IPs that is not a loopback device.

On my Mac this means that it usually binds to VirtualBox interfaces that have no outside connectivity. On Linux it often binds to the IP of the docker0 interface which doesn't make a lot of sense either.

A better default behaviour would be that (if not explicitly specified) mesos should bind to the IP of the interface that the default gateway of the system is on. That is if the system has a default gateway. In all my scenarios that I played through this would always have been the correct IP to bind to and certainly a better choice than a docker0 or vbox interface.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)