[ 
https://issues.apache.org/jira/browse/MESOS-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183425#comment-15183425
 ] 

Robert Brockbank edited comment on MESOS-4370 at 3/7/16 6:41 PM:
-----------------------------------------------------------------

I think getting better support for the --net option is a separate issue.

At the moment, service discovery/DNS does not work with Docker 1.10 because of 
the relocation of the IP field in the inspection data.  This issue *does* 
resolve that and I don't think we should be holding off on getting this into a 
release.  It is not necessary to wait until we have improved --net support.

As it stands today, specifying an additional --net option does work as a 
mechanism for using user-defined networks, and people are using it.  I agree 
that the UX isn't ideal and we should aim to improve that, but DNS is actually 
broken and we do have a simple fix for that which could go in.


was (Author: [email protected]):
I think getting better support for the --net option is a separate issue.

At the moment, service discovery/DNS does not work with Docker 1.10 because of 
the relocation of the IP field in the inspection data.  This issue *does* 
resolve that and I don't think we should be holding off on getting this into a 
release.  It is not necessary to wait until we have improved --net support.

As it stands the --net option does work today as a mechanism for using 
user-defined networks, and people are using it.  I agree that the UX isn't 
ideal and we should aim to improve that, but DNS is actually broken and we do 
have a simple fix for that which could go in.

> 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)

Reply via email to