ceph-csi/internal/rbd
Madhu Rajanna 2f7e51076b rbd: unmap rbd image if the mounting fails
There is a bug in current code where the devicePath
is always empty and the rbd image unmap never
happens if nodeplugin fails to mount the rbd image
to the stagingpath.
This is a fix to unmap the rbd image if some issue
occurs after rbd image is mapped.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-06-01 11:27:25 +00:00
..
controllerserver.go rbd: Add new methods to generate spec strings 2020-06-01 05:54:54 +00:00
driver.go journal: rename CSIJournal to Config 2020-05-15 15:14:48 +00:00
errors.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
identityserver.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver.go rbd: unmap rbd image if the mounting fails 2020-06-01 11:27:25 +00:00
rbd_attach.go rbd: Add new methods to generate spec strings 2020-06-01 05:54:54 +00:00
rbd_journal.go journal: split journal types creating a new Connection type 2020-05-15 15:14:48 +00:00
rbd_util_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
rbd_util.go rbd: Add new methods to generate spec strings 2020-06-01 05:54:54 +00:00