Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7770

Persistent volume might not be mounted if there is a sandbox volume whose source is the same as the target of the persistent volume.

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      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.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              gilbert Gilbert Song
              Reporter:
              jieyu Jie Yu
              Shepherd:
              Jie Yu

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Issue deployment