external: pool and metadata ec pools were reversed in scripts

Pool and Metadata Pool Appear to be reversed.

dataPool needs to contain the EC Data pool
pool needs to contain the Metadata Pool
Closes: https://github.com/rook/rook/issues/11918

Signed-off-by: Matt P <dragon@fbdragon.co.uk>
This commit is contained in:
Matt committed 2023-03-16 22:33:23 +00:00
1 parent 44d58ef605
commit 8bdabf85a8
2 files changed
+4 -4

No files matched your search

@@ -1545,8 +1545,8 @@ class RadosJSON:
"name": "ceph-rbd",
"kind": "StorageClass",
"data": {
"dataPool": self.out_map["RBD_METADATA_EC_POOL_NAME"],
"pool": self.out_map["RBD_POOL_NAME"],
"dataPool": self.out_map["RBD_POOL_NAME"],
"pool": self.out_map["RBD_METADATA_EC_POOL_NAME"],
"csi.storage.k8s.io/provisioner-secret-name": "rook-{}".format(
self.out_map["CSI_RBD_PROVISIONER_SECRET_NAME"]
),
+2 -2
View File
@@ -200,8 +200,8 @@ metadata:
provisioner: $RBD_PROVISIONER
parameters:
clusterID: $CLUSTER_ID_RBD
pool: $RBD_POOL_NAME
dataPool: $RBD_METADATA_EC_POOL_NAME
pool: $RBD_METADATA_EC_POOL_NAME
dataPool: $RBD_POOL_NAME
imageFormat: "2"
imageFeatures: $ROOK_RBD_FEATURES
csi.storage.k8s.io/provisioner-secret-name: "rook-$CSI_RBD_PROVISIONER_SECRET_NAME"