Chun-Hung Hsiao created MESOS-9729:
--------------------------------------
Summary: Unpublishing a volume that is failed to publish crashes
the agent with CSI v1.
Key: MESOS-9729
URL: https://issues.apache.org/jira/browse/MESOS-9729
Project: Mesos
Issue Type: Bug
Affects Versions: 1.8.0
Reporter: Chun-Hung Hsiao
Assignee: Chun-Hung Hsiao
The CSI v1 volume manager recovers a failed `publishVolume` call through
`unpublishVolume`, which mistakenly assume that the target path, which is
supposed to be created by the CSI plugin after a successful publishing, always
exists. If volume publishing fails, a subsequent unpublishing would crash the
agent with the following message:
{noformat}
F0412 20:20:12.254420 7540 v1_volume_manager.cpp:1161] Check failed:
os::exists(targetPath){noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)