ceph-csi/internal
Niels de Vos e011e74b9d rbd: fix snapshot deletion by resolving image names correctly
When creating a Snapshot with the new NewSnapshotByID() function, the
name of the RBD-image that is created is the same as the name of the
Snapshot. The `RbdImageName` points to the name of parent image, which
causes deleting the Snapshot to delete the parent image instead.

Correcting the `RbdImageName` and setting it to the `RbdSnapName` makes
sure that upon deletion, the Snapshot RBD-image is removed, and not the
parent image.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2024-11-06 11:37:44 +00:00
..
cephfs cephfs: support omap store in radosnamespace 2024-10-21 14:11:27 +00:00
controller util: use protobuf encoding for core k8s apis 2024-09-26 11:52:21 +00:00
csi-addons rbd: parse IP address 2024-11-06 09:48:45 +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: store csi.groupid for snapshots 2024-11-06 11:37:44 +00:00
kms rbd: implement pv key rotation 2024-07-19 13:26:28 +00:00
liveness build: passing context parameter as required 2024-06-28 08:38:54 +00:00
nfs util: added logs for slow gRPC calls 2024-09-20 08:55:17 +00:00
rbd rbd: fix snapshot deletion by resolving image names correctly 2024-11-06 11:37:44 +00:00
util util: add GetAddrs method 2024-11-06 09:48:45 +00:00