mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 08:40:23 +00:00
rbd: fix problem with deletion of a namespaced image
fix problem with deletion of a namespaced image
Signed-off-by: Marton Natko <mnatko@transip.nl>
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 91c49c14b3
)
This commit is contained in:
parent
d999d9db0c
commit
8dc3f51350
@ -134,6 +134,7 @@ func (rv *rbdVolume) generateTempClone() *rbdVolume {
|
|||||||
tempClone.ClusterID = rv.ClusterID
|
tempClone.ClusterID = rv.ClusterID
|
||||||
tempClone.Monitors = rv.Monitors
|
tempClone.Monitors = rv.Monitors
|
||||||
tempClone.Pool = rv.Pool
|
tempClone.Pool = rv.Pool
|
||||||
|
tempClone.RadosNamespace = rv.RadosNamespace
|
||||||
// The temp cloned image name will be always (rbd image name + "-temp")
|
// The temp cloned image name will be always (rbd image name + "-temp")
|
||||||
// this name will be always unique, as cephcsi never creates an image with
|
// this name will be always unique, as cephcsi never creates an image with
|
||||||
// this format for new rbd images
|
// this format for new rbd images
|
||||||
|
Loading…
Reference in New Issue
Block a user