ceph-csi/internal/rbd
Praveen M c1b3325677 cleanup: move rbd errors to internal/rbd/errors
This commit includes:
1). Moves rbd errors from internal/util/errors to internal/rbd/errors.

2). Introduces ShouldRetryVolumeGroupGeneration helper function to determine
whether volume group generation should continue based on specific error types.
The function returns true if the error is of type ErrPoolNotFound,
ErrRBDGroupNotFound, ErrPermissionDenied. (Ceph user might not have access to
all the objects/pools where mapping exists)

Signed-off-by: Praveen M <m.praveen@ibm.com>
2025-03-04 16:56:24 +05:30
..
driver csiaddons: use rbd.Manager within ReclaimSpaceControllerServer 2025-01-28 10:19:58 +00:00
errors cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30
features rbd: add feature check to see if GroupSnapGetInfo is available 2024-10-10 15:45:47 +00:00
group cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30
types rbd: add RegenerateVolumeGroupJournal method for Manager interface 2025-01-28 17:19:32 +00:00
clone.go cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30
controllerserver_test.go rbd: add validation to ToCSI() for rbdVolume and rbdSnapshot 2025-02-20 10:14:29 +00:00
controllerserver.go cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30
diskusage.go cleanup: move internal/rbd/errors.go to internal/rbd/errors pacakge 2025-03-04 16:45:23 +05:30
encryption_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
encryption.go rbd: Add timeout for cryptsetup commands 2024-11-05 11:39:59 +00:00
globals.go util: add CSIDriver.GetInstanceID() 2024-08-05 17:04:52 +00:00
group_controllerserver.go cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30
group.go rbd: close the RBD-image after adding it to a VolumeGroup 2024-11-06 11:37:44 +00:00
identityserver.go rbd: expose the GroupControllerService 2024-11-06 11:37:44 +00:00
manager.go cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30
migration_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
migration.go cleanup: move internal/rbd/errors.go to internal/rbd/errors pacakge 2025-03-04 16:45:23 +05:30
mirror.go cleanup: move internal/rbd/errors.go to internal/rbd/errors pacakge 2025-03-04 16:45:23 +05:30
nodeserver_test.go ci: Use temporary directory for unit tests 2024-05-27 05:57:27 +00:00
nodeserver.go cleanup: move internal/rbd/errors.go to internal/rbd/errors pacakge 2025-03-04 16:45:23 +05:30
qos_test.go rbd: support QoS based on capacity for rbd volume 2025-02-17 18:25:33 +00:00
qos.go rbd: support QoS based on capacity for rbd volume 2025-02-17 18:25:33 +00:00
rbd_attach_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
rbd_attach.go build: address 'intrange' linter warning 2024-04-29 14:36:48 +00:00
rbd_healer.go rbd: add a check for CSI pv 2024-08-27 17:08:44 +00:00
rbd_journal.go cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30
rbd_util_test.go cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30
rbd_util.go cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30
replication.go cleanup: move internal/rbd/errors.go to internal/rbd/errors pacakge 2025-03-04 16:45:23 +05:30
snapshot_test.go rbd: add validation to ToCSI() for rbdVolume and rbdSnapshot 2025-02-20 10:14:29 +00:00
snapshot.go cleanup: move rbd errors to internal/rbd/errors 2025-03-04 16:56:24 +05:30