From 91c49c14b37fb04ba438546b555f3abdc39cbfc7 Mon Sep 17 00:00:00 2001 From: Marton Natko Date: Tue, 18 Aug 2020 12:43:18 +0200 Subject: [PATCH] rbd: fix problem with deletion of a namespaced image fix problem with deletion of a namespaced image Signed-off-by: Marton Natko Signed-off-by: Madhu Rajanna --- internal/rbd/clone.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/rbd/clone.go b/internal/rbd/clone.go index 9d6a5e908..00d39ac36 100644 --- a/internal/rbd/clone.go +++ b/internal/rbd/clone.go @@ -134,6 +134,7 @@ func (rv *rbdVolume) generateTempClone() *rbdVolume { tempClone.ClusterID = rv.ClusterID tempClone.Monitors = rv.Monitors tempClone.Pool = rv.Pool + tempClone.RadosNamespace = rv.RadosNamespace // 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 format for new rbd images