You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2017/04/19 22:45:05 UTC

[jira] [Created] (MESOS-7405) Allow isolators to render mapped sandbox specific environment variables.

Till Toenshoff created MESOS-7405:
-------------------------------------

             Summary: Allow isolators to render mapped sandbox specific environment variables.
                 Key: MESOS-7405
                 URL: https://issues.apache.org/jira/browse/MESOS-7405
             Project: Mesos
          Issue Type: Bug
          Components: agent, containerization, isolation
            Reporter: Till Toenshoff


Within the mesos-containerizer, isolators are responsible for preparing the containerized context for an executor by implementing [{{prepare}}|https://github.com/apache/mesos/blob/253c89483cb6e31225a1f55449ff88c676030eec/include/mesos/slave/isolator.hpp#L68-L70].

Part of such preparation may e.g. be sandbox mutations within the root filesystem as well as rendering environment variables returned via the optionally returned [{{ContainerLaunchInfo}}|https://github.com/apache/mesos/blob/253c89483cb6e31225a1f55449ff88c676030eec/include/mesos/slave/containerizer.proto#L164].

IIUC currently it seems to not be possible to have an isolator setup environment variables pointing to mapped locations within the sandbox path as that path gets determined after all isolators did their preparation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)