Files
kubernetes/pkg
Ilias Tsitsimpis 6590c3fe35 csi: Remove stale volume path
The CSI mounter creates the following paths during SetUp():

   * .../pods/<podID>/volumes/kubernetes.io~csi/<specVolId>/mount/
   * .../pods/<podID>/volumes/kubernetes.io~csi/<specVolId>/volume_data.json

During TearDown(), it does not remove the `.../kubernetes.io~csi/<specVolId>/`
directory, leaving behind orphan volumes: method cleanupOrphanedPodDirs()
complains with 'Orphaned pod found, but volume paths are still present
on disk'.

Fix that by removing the above directory in removeMountDir().

Signed-off-by: Ilias Tsitsimpis <iliastsi@arrikto.com>
2018-02-15 13:30:36 +02:00
..
2018-02-11 11:04:14 +08:00
2017-12-23 13:12:11 -08:00
2018-02-01 19:11:19 +08:00
2017-12-23 13:12:11 -08:00
2017-12-23 13:12:11 -08:00
2018-02-12 10:54:33 -05:00
2017-12-23 13:12:11 -08:00
2018-01-29 10:07:37 -08:00
2018-02-15 13:30:36 +02:00
2018-01-15 23:17:19 +08:00