ceph-csi/internal
Niels de Vos bd73674596 rbd: always include the SourceVolumeID when returning a Snapshot
`doSnapshotClone()` returns a new `rbdVolume` object from a temporary
snapshot. This conversion drops the `SourceVolumeID` attribute, as a
`rbdVolume` does not have that.

After converting the `rbdVolume` back to a `rbdSnapshot`, the
`SourceVolumeID` attribute can be set again, and the `ToCSI()` function
can create an appropriate CSI Snapshot struct.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit b3faa04504)
2025-02-21 11:30:08 +00:00
..
cephfs util: return correct status code for VolumeGroupSnapshot 2024-12-20 09:12:38 +00:00
controller util: use protobuf encoding for core k8s apis 2024-09-26 11:52:21 +00:00
csi-addons rbd: add check to getVolumeReplicationInfo 2025-01-15 04:00:02 +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: always include the SourceVolumeID when returning a Snapshot 2025-02-21 11:30:08 +00:00
util rbd: take lock on targetpath during node operation 2024-11-21 10:18:56 +00:00