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

Agent allows creation of persistent volume with absolute container_path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • 0.25.0
    • None
    • None

    Description

      When creating persistent volumes, gabriel.hartmann@gmail.com saw that he could specify an absolute container_path in the CREATE operation and his framework would receive a subsequent offer containing that volume, indicating a successful operation. However, the directory was not found on the agent, and indeed such an operation should be unsuccessful, since in /src/slave/containerizer/mesos/isolators/filesystem/linux.cpp it is enforced that if an absolute container_path is specified, the directory should already exist, and in this case it did not.

      The CREATE operation should not appear to succeed if an invalid container_path is provided.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              greggomann Greg Mann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: