Madhu Rajanna c4b6bb90d6 check subvolume present in backend
If a CreateVolume call is interrupted,
post creating the required CSI journal entries,
but prior to creating the backing CephFS subvolume,
then a subsequent CreateVolume call will return
a valid response with a VolumeID that has
it's backing image missing. This PR adds a check
for backend image, if image notfound it deletes the
reserved keys in omap.

fixes #839

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 128f3fc2cf410209d63966a25b6ffc7f1e1331a3)
2020-02-25 12:35:50 +00:00
..
2019-11-27 14:00:47 +00:00
2019-04-01 23:02:19 +08:00
2019-11-27 14:00:47 +00:00