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, [[email protected]] 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)