Skip to content

Commit

Permalink
filesystem: correct the pool name in the ux backend handler
Browse files Browse the repository at this point in the history
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 <paarora@redhat.com>
  • Loading branch information
parth-gr authored and openshift-cherrypick-robot committed Dec 6, 2024
1 parent 5bf54f4 commit 9a9ece0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/ux-backend/handlers/expandstorage/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,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",
Expand Down

0 comments on commit 9a9ece0

Please sign in to comment.