You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2016/04/11 18:52:25 UTC
[jira] [Commented] (MESOS-4922) Setup proper /etc/hostname,
/etc/hosts and /etc/resolv.conf for containers in network/cni isolator.
[ https://issues.apache.org/jira/browse/MESOS-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235468#comment-15235468 ]
Jie Yu commented on MESOS-4922:
-------------------------------
commit 00141e4a56a81525fec1f86f2b212dcbc04e3a8c
Author: Avinash sridharan <av...@mesosphere.io>
Date: Mon Apr 11 09:51:16 2016 -0700
Adding a stout interface for `sethostname` system call in linux.
Review: https://reviews.apache.org/r/45953/
> 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)