ceph-csi/internal/rbd
Madhu Rajanna a17eb07947 rbd: use RbdSnapName to check the image details
RbdSnapName holds the actual RBD image name which
got created during the CreateSnapshot operation.
RbdImageName holds the name of the parent from
which the snapshot is created. and the parent
is independent of snapshot and it can be deleted
any time for the same reason using the RbdSnapName
to check the rbd image details.

generate a temporary volume from the snapshot which
replaces the rbdImageName with RbdSnapName and use
it to check the image metadata.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 6d14eeee70)
2021-06-21 09:38:26 +00:00
..
clone.go cleanup: release resources for rbdImages objects after use 2021-04-14 03:59:28 +00:00
controllerserver_test.go rbd: repair thick-provisioned images on CreateVolume restart 2021-06-01 16:08:39 +00:00
controllerserver.go rbd: add validation for thick restore/clone 2021-06-21 09:38:26 +00:00
driver.go rbd: Add ReplicationServer struct for replication operations 2021-04-05 08:53:40 +00:00
encryption.go logging: report issues in rbdImage.DEKStore API with stacks 2021-04-14 03:59:28 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
mirror.go rbd: check for peer site status 2021-04-05 08:53:40 +00:00
nodeserver_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
nodeserver.go rbd: flatten image if the depth is not zero 2021-05-07 09:25:48 +00:00
rbd_attach.go util: introduce VolumeEncryption type 2021-03-12 10:11:47 +00:00
rbd_journal.go cleanup: move copyEncryptionConfig() from CreateVolume to Exists() 2021-04-14 03:59:28 +00:00
rbd_util_test.go rbd: Add failing test when no features are provided 2021-06-10 17:04:13 +00:00
rbd_util.go rbd: use RbdSnapName to check the image details 2021-06-21 09:38:26 +00:00
replicationcontrollerserver.go rbd: mark image ready when image state is up+unknown 2021-05-05 15:07:18 +00:00
snapshot.go rbd: delete encryption key from KMS 2021-04-30 09:37:23 +00:00