[
https://issues.apache.org/jira/browse/MESOS-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183395#comment-15183395
]
Travis Hegner commented on MESOS-4370:
--------------------------------------
Thank you [[email protected]] for you testing and interest in this patch.
I've discovered that this patch only works out of pure luck in the way docker
interprets multiple "--net" parameters. I have been stalling this patch as it
will have to be re-worked to account for official user defined network support
in mesos, via https://reviews.apache.org/r/42516/.
I'd be happy to get a working fix merged in myself, but would prefer it be
based on the patch linked above.
> NetworkSettings.IPAddress field is deprecated in Docker
> -------------------------------------------------------
>
> Key: MESOS-4370
> URL: https://issues.apache.org/jira/browse/MESOS-4370
> Project: Mesos
> Issue Type: Bug
> Components: containerization, docker
> Affects Versions: 0.25.0, 0.26.0, 0.27.0
> Environment: Ubuntu 14.04
> Docker 1.9.1
> Reporter: Clint Armstrong
> Assignee: Travis Hegner
>
> The latest docker API deprecates the NetworkSettings.IPAddress field, in
> favor of the NetworkSettings.Networks field.
> https://docs.docker.com/engine/reference/api/docker_remote_api/#v1-21-api-changes
> With this deprecation, NetworkSettings.IPAddress is not populated for
> containers running with networks that use new network plugins.
> As a result the mesos API has no data in
> container_status.network_infos.ip_address or
> container_status.network_infos.ipaddresses.
> The immediate impact of this is that mesos-dns is unable to retrieve a
> containers IP from the netinfo interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)