[ 
https://issues.apache.org/jira/browse/MESOS-7770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jie Yu updated MESOS-7770:
--------------------------
    Description: 
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 is important because the workaround we suggest folks to solve MESOS-4016 
is to use an additional sandbox volume.

  was:
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.


> 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.1.2, 1.2.1, 1.3.0
>            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 is important because the workaround we suggest folks to solve MESOS-4016 
> is to use an additional sandbox volume.



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

Reply via email to