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

Unpublishing a volume that is failed to publish crashes the agent with CSI v1.

    XMLWordPrintableJSON

Details

    Description

      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:

      F0412 20:20:12.254420  7540 v1_volume_manager.cpp:1161] Check failed: os::exists(targetPath)

       

      Attachments

        Activity

          People

            chhsia0 Chun-Hung Hsiao
            chhsia0 Chun-Hung Hsiao
            Benjamin Bannier Benjamin Bannier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: