ceph-csi/internal
Praveen M e4d41c42d6 rbd: get volumegroup in secondary cluster
Currently, `GetVolumeGroup()` fetches the RBD group from the
pool using the clusterID & poolID encoded in the VolumeGroupHandle.
However, this approach may fail in a secondary mirrored cluster,
where the clusterID & poolID could differ.

This commit ensures that `GetVolumeGroup` leverages the
clusterIDMapping and RBDPoolIDMapping to locate the RBD group in the
appropriate  pool if it is not found in the pool corresponding
to the poolID encoded in the VolumeGroupHandle.

Signed-off-by: Praveen M <m.praveen@ibm.com>
2025-02-17 13:33:21 +00:00
..
cephfs journal: pass groupUUID to be used for omap name reserve 2025-01-28 17:19:32 +00:00
controller rbd: controller to regenerate volume group omap data 2025-01-28 17:19:32 +00:00
csi-addons cleanup: move ErrImageNotFound from rbd/errors to util/errors 2025-02-17 13:33:21 +00:00
csi-common util: added logs for slow gRPC calls 2024-09-20 08:55:17 +00:00
health-checker doc: fix codespell problem 2024-09-04 10:13:47 +00:00
journal journal: pass groupUUID to be used for omap name reserve 2025-01-28 17:19:32 +00:00
kms ci: address return value is not checked (errcheck) 2025-01-08 11:56:24 +00:00
liveness ci: non-constant format string (govet) 2025-01-08 11:56:24 +00:00
nfs util: added logs for slow gRPC calls 2024-09-20 08:55:17 +00:00
rbd rbd: get volumegroup in secondary cluster 2025-02-17 13:33:21 +00:00
util cleanup: move ShouldRetryVolumeGeneration from internal/rbd to internal/util 2025-02-17 13:33:21 +00:00