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)