[
https://issues.apache.org/jira/browse/MESOS-9956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16974505#comment-16974505
]
Benjamin Bannier commented on MESOS-9956:
-----------------------------------------
Review for backport to {{1.8.x}}: https://reviews.apache.org/r/71769/
> CSI plugins reporting duplicated volumes will crash the agent.
> --------------------------------------------------------------
>
> Key: MESOS-9956
> URL: https://issues.apache.org/jira/browse/MESOS-9956
> Project: Mesos
> Issue Type: Bug
> Components: storage
> Reporter: Chun-Hung Hsiao
> Assignee: Chun-Hung Hsiao
> Priority: Blocker
> Labels: mesosphere, storage
> Fix For: 1.9.0
>
>
> The CSI spec requires volumes to be uniquely identifiable by ID, and thus
> SLRP currently assumes that a {{ListVolumes}} call does not return duplicated
> volumes. However, if a SLRP uses a non-conforming CSI plugin that reports
> duplicated volumes, these volumes would corrupt the SLRP checkpoint and cause
> the agent to crash at the next reconciliation:
> {noformat}
> F0829 07:13:55.171332 12721 provider.cpp:1089] Check failed:
> !checkpointedMap.contains(resource.disk().source().id()){noformat}
> MESOS-9254 introduces periodic reconciliation which make this problem much
> easier to manifest.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)