[
https://issues.apache.org/jira/browse/MESOS-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240328#comment-15240328
]
Jie Yu commented on MESOS-4922:
-------------------------------
commit 0845ec04395faeb05a518a81c89c87b726dc8711
Author: Avinash sridharan <[email protected]>
Date: Wed Apr 13 17:15:21 2016 -0700
Added the `_isolate` method.
Once the `isolate` is successful, the `_isolate` method calls out the
`mesos-cni-helper` to setup the /etc/hosts, /etc/hostname and
/etc/resolv.conf for the container.
Review: https://reviews.apache.org/r/45956/
> Setup proper /etc/hostname, /etc/hosts and /etc/resolv.conf for containers in
> network/cni isolator.
> ---------------------------------------------------------------------------------------------------
>
> Key: MESOS-4922
> URL: https://issues.apache.org/jira/browse/MESOS-4922
> Project: Mesos
> Issue Type: Bug
> Components: isolation
> Reporter: Qian Zhang
> Assignee: Avinash Sridharan
> Labels: mesosphere
>
> The network/cni isolator needs to properly setup /etc/hostname and /etc/hosts
> for the container with a hostname (e.g., randomly generated) and the assigned
> IP returned by CNI plugin.
> We should consider the following cases:
> 1) container is using host filesystem
> 2) container is using a different filesystem
> 3) custom executor and command executor
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)