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

Persistent volumes are not visible in Mesos UI using default executor on Linux.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.2, 1.3.1, 1.4.1
    • 1.5.0
    • None
    • None
    • Mesosphere Sprint 72
    • 3

    Description

      The reason is because on Linux, if multiple containers in a default executor want to share a persistent volume, it'll use SANDBOX_PATH volume source with type PARENT. This will be translated into a bind mount in the nested container's mount namespace, thus not visible in the host mount namespace. Mesos UI operates in the host mount namespace.

      One potential solution for that is to create a symlink (instead of just a mkdir) in the sandbox. The symlink will be shadowed by the bind mount in the nested container, but in the host mount namespace, it'll points to the corresponding persistent volume.

      Attachments

        Issue Links

          Activity

            People

              qianzhang Qian Zhang
              jieyu Jie Yu
              Vinod Kone Vinod Kone
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: