From 3396a610888eec65412d488d6259fd7366424797 Mon Sep 17 00:00:00 2001 From: parth-gr Date: Thu, 5 Dec 2024 18:56:35 +0530 Subject: [PATCH] filesystem: correct the pool name in the ux backend handler In the expandstorage handler pool name is incorrect, Rook adds the filesystemName prefix to every datapool, which was missing in the storageclass parameter https://github.com/rook/rook/blob/44e96c8ab67a27121354a04b121b7f16b6a38894/pkg/operator/ceph/file/filesystem.go#L321 Signed-off-by: parth-gr --- services/ux-backend/handlers/expandstorage/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/ux-backend/handlers/expandstorage/handler.go b/services/ux-backend/handlers/expandstorage/handler.go index 9af2804e6b..6bf40b6919 100644 --- a/services/ux-backend/handlers/expandstorage/handler.go +++ b/services/ux-backend/handlers/expandstorage/handler.go @@ -268,7 +268,7 @@ func createCephFilesystemStorageClass(w http.ResponseWriter, r *http.Request, cl Parameters: map[string]string{ "clusterID": namespace, "fsName": filesystemName, - "pool": poolName, + "pool": fmt.Sprintf("%s-%s", filesystemName, poolName), "csi.storage.k8s.io/provisioner-secret-name": "rook-csi-cephfs-provisioner", "csi.storage.k8s.io/provisioner-secret-namespace": namespace, "csi.storage.k8s.io/node-stage-secret-name": "rook-csi-cephfs-node",