You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Chun-Hung Hsiao (JIRA)" <ji...@apache.org> on 2019/04/12 20:58:00 UTC
[jira] [Created] (MESOS-9729) Unpublishing a volume that is failed
to publish crashes the agent with CSI v1.
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)