Jie Yu created MESOS-7770:
-----------------------------

             Summary: Persistent volume might not be mounted if there is a 
sandbox volume whose source is the same as the target of the persistent volume.
                 Key: MESOS-7770
                 URL: https://issues.apache.org/jira/browse/MESOS-7770
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 1.3.0, 1.2.1, 1.1.2
            Reporter: Jie Yu
            Priority: Critical


This issue is only for Mesos Containerizer.

If the source of a sandbox volume is a relative path, we'll create the 
directory in the sandbox in Isolator::prepare method:
https://github.com/apache/mesos/blob/1.3.x/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp#L480-L485

And then, we'll try to mount persistent volumes. However, because of this TODO 
in the code:
https://github.com/apache/mesos/blob/1.3.x/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp#L726-L739

We'll skip mounting the persistent volume. That will cause a silent failure.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to