ceph-csi/pkg/cephfs
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 128f3fc2cf)
2020-02-25 12:35:50 +00:00
..
cephfs_util.go switch to cephfs, utils, and csicommon to new loging system 2019-08-29 14:04:31 +00:00
cephuser.go switch to cephfs, utils, and csicommon to new loging system 2019-08-29 14:04:31 +00:00
controllerserver.go CephFS: Added ENOENT checks for possible missing volumes 2020-01-31 08:24:08 +00:00
driver.go Update golangci-lint version to v1.21.0 2019-12-12 04:57:14 +00:00
errors.go CephFS: Added ENOENT checks for possible missing volumes 2020-01-31 08:24:08 +00:00
fsjournal.go check subvolume present in backend 2020-02-25 12:35:50 +00:00
identityserver.go Resize CephFS Volumes 2019-11-27 14:00:47 +00:00
mountcache_test.go code style 2019-04-01 23:02:19 +08:00
mountcache.go switch to cephfs, utils, and csicommon to new loging system 2019-08-29 14:04:31 +00:00
nodeserver.go Add _netdev as default mount options in plugin 2020-01-30 16:34:33 +00:00
util.go Resize CephFS Volumes 2019-11-27 14:00:47 +00:00
volume.go CephFS: Added ENOENT checks for possible missing volumes 2020-01-31 08:24:08 +00:00
volumemounter_test.go cephfs: add kernel version detection for mounting with client 2019-11-13 11:56:09 +00:00
volumemounter.go Add _netdev as default mount options in plugin 2020-01-30 16:34:33 +00:00
volumeoptions.go CephFS: Added ENOENT checks for possible missing volumes 2020-01-31 08:24:08 +00:00