ceph-csi/internal/cephfs
Madhu Rajanna d39b61334a cephfs: delete subvolume if SetAllMetadata fails
To avoid subvolume leaks if the SetAllMetadata
operations fails delete the subvolume.
If any operation fails after creating the subvolume
we will remove the omap as the omap gets
removed we will need to remove the subvolume to
avoid stale resources.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 302fead713)
2022-10-19 07:14:43 +00:00
..
core cephfs: use errors.As instead of errors.Is 2022-10-17 11:41:18 +00:00
errors cleanup: move core functions to core pkg 2021-09-23 06:39:37 +00:00
mounter cephfs: added support for snapshot-backed volumes 2022-06-16 09:44:27 +00:00
store cephfs: snapshots honor --setmetadata option 2022-08-01 07:15:29 +00:00
util cephfs: fix staticcheck comment 2022-08-10 17:51:26 +00:00
controllerserver.go cephfs: delete subvolume if SetAllMetadata fails 2022-10-19 07:14:43 +00:00
driver.go cephfs: subvolumes honor --setmetadata option 2022-08-01 07:15:29 +00:00
fuserecovery.go cleanup: create k8s.io/mount-utils Mounter only once 2022-07-21 07:14:43 +00:00
identityserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
nodeserver.go cephfs: subvolumes honor --setmetadata option 2022-08-01 07:15:29 +00:00
validator.go cephfs: correct comment for validateExpandVolumeRequest 2021-09-07 14:33:02 +00:00