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

Support `DESTROY_DISK` on preprovisioned CSI volumes.

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      Currently the experimental DESTROY_DISK operation only applies to BLOCK or MOUNT disk resources. We should consider supporting DESTROY_DISK on RAW disk resources with source IDs as well. This could be handy in e.g., the following scenario:

      1. The framework issued a CREATE_DISK.
      2. The SLRP received CREATE_DISK and translated to a CreateVolume CSI call.
      3. While the CreateVolume is ongoing, the agent was restarted with a new agent ID, causing the SLRP to lose its bookkeeping and start with a new RP ID as well, and hence the CREATE_DISK operation was lost.
      4. The CreateVolume call succeeded and the new SLRP picked it up as a preprovisioned CSI volume.

      In the above case, the framework should be able to choose to either "import" the CSI volume through CREATE_DISK, or directly reclaim the space through DESTROY_DISK. Currently the framework needs to always import the CSI volume before reclaiming the space.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              chhsia0 Chun-Hung Hsiao
              Reporter:
              chhsia0 Chun-Hung Hsiao
              Shepherd:
              Benjamin Bannier

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Issue deployment