You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2015/11/26 02:18:11 UTC

[jira] [Created] (MESOS-4016) Agent allows creation of persistent volume with absolute container_path

Greg Mann created MESOS-4016:
--------------------------------

             Summary: Agent allows creation of persistent volume with absolute container_path
                 Key: MESOS-4016
                 URL: https://issues.apache.org/jira/browse/MESOS-4016
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 0.25.0
            Reporter: Greg Mann


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)