Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Mesos agents do not make sure that the ports they manage do not overlap with the host's ephemeral port range. This can lead to situations where tasks fail since another process might have been assigned a port in that range when binding to port 0.
We should strongly suggest administrators to remove Mesos-managed ports from the ephemeral port range. This topic is currently only briefly mentioned in the port mapping isolator documentation, https://github.com/apache/mesos/blob/38cb694f55ec8ab69efa83e1b958eac071fee2d4/docs/port-mapping-isolator.md#L100-L114. It would be great to make this a suggested part of the installation.