mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Mazumdar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-6781) Mesos containerizer overrides environment variables passed to the executor incorrectly.
Date Mon, 12 Dec 2016 19:26:58 GMT
Anand Mazumdar created MESOS-6781:
-------------------------------------

             Summary: Mesos containerizer overrides environment variables passed to the executor
incorrectly.
                 Key: MESOS-6781
                 URL: https://issues.apache.org/jira/browse/MESOS-6781
             Project: Mesos
          Issue Type: Bug
          Components: containerization
            Reporter: Anand Mazumdar
            Assignee: Jie Yu
            Priority: Blocker


Currently, the mesos containerizer appends the default environment variables of the executor
and appends them _after_ any environment that were over-ridden by an isolator. This is problematic
e.g., if the CNI isolator over-rides {{LIBPROCESS_IP}} in an overlay network. The containerizer
would give the executor environment variables more preference meaning that the container would
end up inheriting the IP address of the agent!

https://github.com/apache/mesos/blob/master/src/slave/containerizer/mesos/containerizer.cpp#L1412-L1421



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message