Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9956

CSI plugins reporting duplicated volumes will crash the agent.

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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:

       F0829 07:13:55.171332 12721 provider.cpp:1089] Check failed: !checkpointedMap.contains(resource.disk().source().id())

      MESOS-9254 introduces periodic reconciliation which make this problem much easier to manifest.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chhsia0 Chun-Hung Hsiao
            chhsia0 Chun-Hung Hsiao
            Benno Evers Benno Evers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Agile

                Completed Sprint:
                Storage: RI-18 54 ended 20/Nov/19
                View on Board

                Slack

                  Issue deployment